I can recommend Fedora Core 6, it has more uptodate Apache, PHP and MySQL,
than does Red Hat Enterprise 4, which is what the company I consult for
installed on their VM-ware environment. We spent a lot of time upgrading
everything on the VM Host because the RH Enterprise was so far behind. I
run
2007. 06. 21, csütörtök keltezéssel 20.07-kor Tijnema ezt írta:
On 6/21/07, Dan [EMAIL PROTECTED] wrote:
Seconded :D
Cool, please go to the following url and clickthe button:
http://gpcc.tijnema.info/
I clicked, although I don't use gmail - but I might register an account
for use with
What encoding should a PHP file itself have (so not it's output setting).
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What encoding should a PHP file itself have (so not it's output setting).
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/22/07, Zoltán Németh [EMAIL PROTECTED] wrote:
2007. 06. 21, csütörtök keltezéssel 20.07-kor Tijnema ezt írta:
On 6/21/07, Dan [EMAIL PROTECTED] wrote:
Seconded :D
Cool, please go to the following url and clickthe button:
http://gpcc.tijnema.info/
I clicked, although I don't use
On 6/22/07, Warren Vail [EMAIL PROTECTED] wrote:
I can recommend Fedora Core 6, it has more uptodate Apache, PHP and MySQL,
than does Red Hat Enterprise 4, which is what the company I consult for
installed on their VM-ware environment. We spent a lot of time upgrading
everything on the VM Host
On 6/22/07, Greg Donald [EMAIL PROTECTED] wrote:
On 6/21/07, Tijnema [EMAIL PROTECTED] wrote:
Cool, please go to the following url and clickthe button:
http://gpcc.tijnema.info/
Where's the 'no' option ? I call shenanigans.
--
Greg Donald
Close the window ;)
Tijnema
--
Vote for PHP
On 6/22/07, Christian Hänsel [EMAIL PROTECTED] wrote:
Tijnema [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
On 6/22/07, Zoltán Németh [EMAIL PROTECTED] wrote:
2007. 06. 21, csütörtök keltezéssel 20.07-kor Tijnema ezt írta:
On 6/21/07, Dan [EMAIL PROTECTED] wrote:
Seconded
Tijnema [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
On 6/22/07, Zoltán Németh [EMAIL PROTECTED] wrote:
2007. 06. 21, csütörtök keltezéssel 20.07-kor Tijnema ezt írta:
On 6/21/07, Dan [EMAIL PROTECTED] wrote:
Seconded :D
Cool, please go to the following url and clickthe
Guus Ellenkamp wrote:
What encoding should a PHP file itself have (so not it's output setting).
Plain ASCII AFAIK.
--
Richard Heyes
0844 801 1072
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi all,
How can I get this in PHP4?
I used this in PHP5:
?php
class ABC
{
function func_a()
{
return a;
}
function func_b()
{
return b;
}
}
$abc = new ABC();
$var = a;
$result = $abc-func_$var(); // Line 17
?
In PHP5 $result contains a here, but in PHP4 I get this error:
Parse error: syntax
Tijnema wrote:
Hi all,
How can I get this in PHP4?
I used this in PHP5:
?php
class ABC
{
function func_a()
{
return a;
}
function func_b()
{
return b;
}
}
$abc = new ABC();
$var = a;
$result = $abc-func_$var(); // Line 17
?
In PHP5 $result contains a here, but in PHP4 I get this error:
Parse
On 6/20/07, Tijnema [EMAIL PROTECTED] wrote:
On 6/19/07, Dan [EMAIL PROTECTED] wrote:
Whoops, it turned out just to be a line wrapping problem, it was putting an
extra space in.
I have it working now, but after every request I get back the returning
header in my result to it looks like
On 6/22/07, Stut [EMAIL PROTECTED] wrote:
Tijnema wrote:
Hi all,
How can I get this in PHP4?
I used this in PHP5:
?php
class ABC
{
function func_a()
{
return a;
}
function func_b()
{
return b;
}
}
$abc = new ABC();
$var = a;
$result = $abc-func_$var(); // Line 17
?
In
Richard Heyes wrote:
Guus Ellenkamp wrote:
What encoding should a PHP file itself have (so not it's output setting).
Plain ASCII AFAIK.
huh?
I generally save my files in the same encoding as the output encoding of the
site,
this is so that literal strings are output correctly.
--
PHP
First, funny that you say that from a Gmail account, where top-posting is
encouraged by the mail system.
Second, and not to get into a big discussion about top vs bottom posting, but I
top-post because typically if I'm involved in a conversation, I know what's
been said already and don't want
[EMAIL PROTECTED] wrote:
Thanks for the suggestions.. but again, the question wasn't what distro of
linux to use. And I don't mind upgrading things. The question is what would
someone recommend for a really small distro of linux preferably with the bare essentials
+ apache, mysql, php and
My thoughts exactly, TG. I was just thinking about that this
morning, in fact --- exactly the stuff you said.
That aside, I started using a DSL/Knoppix distro to modify to
automatically install a server environment as opposed to the desktop
environment. As such, without the need for a
Excellent information Jim! Thanks a ton! I really wish I knew linux more
intimately so I knew what was a vital organ and what was an appendix :)
Your suggestions sound like exactly what I'm looking for. Greatly appreciated!
Actually.. one question. Won't it try to set up a swap partition?
[EMAIL PROTECTED] wrote:
Excellent information Jim! Thanks a ton! I really wish I knew linux more
intimately so I knew what was a vital organ and what was an appendix :)
Your suggestions sound like exactly what I'm looking for. Greatly appreciated!
Actually.. one question. Won't it try
Jochem Maas wrote:
Richard Heyes wrote:
Guus Ellenkamp wrote:
What encoding should a PHP file itself have (so not it's output setting).
Plain ASCII AFAIK.
huh?
I generally save my files in the same encoding as the output encoding of the
site,
this is so that literal strings are output
Don't you punks read the archives??
http://marc.info/?l=php-generalm=106579709910174w=2
http://marc.info/?l=php-generalm=107902806617669w=2
http://marc.info/?l=php-generalm=109556769132522w=2
There's always someone who gets their nickers all bunched up with
respect to top posting :B
Thanks for the suggestions.. but again, the question wasn't what distro of
linux to use. And I don't mind upgrading things. The question is what would
someone recommend for a really small distro of linux preferably with the bare
essentials + apache, mysql, php and samba.
Failing that, I'll
Jim Lucas wrote:
[EMAIL PROTECTED] wrote:
Excellent information Jim! Thanks a ton! I really wish I knew linux
more intimately so I knew what was a vital organ and what was an
appendix :)
one other thing.
fedore + yum will do all the work for you with regards to decencies and system
A: Because it breaks the logical sequence of discussion.
Q: Why is top posting bad?
This explains everything ^^^
On 6/22/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
First, funny that you say that from a Gmail account, where top-posting is
encouraged by the mail system.
All email clients
On 6/22/07, Andres Rojas [EMAIL PROTECTED] wrote:
Hi all,
I'm new in PHP programming and I have a problem with this script. I need
to read a large file around 2Mb and several lines (28000). All start Ok,
but suddenly the script stop without message error.
?php
$fichero=62007lg.txt;
[EMAIL PROTECTED] wrote:
Excellent information Jim! Thanks a ton! I really wish I knew linux more
intimately so I knew what was a vital organ and what was an appendix :)
Your suggestions sound like exactly what I'm looking for. Greatly appreciated!
Actually.. one question. Won't it try
On 6/22/07, Ray [EMAIL PROTECTED] wrote:
hello,
I'm having some problems with fsockopen and was hopping for some help.
I try to connect to a host via fsockopen and I get getaddrinfo failed
errors, but if I try fsockopen with google, everything works.
sample test code
I have created a pdf form with php that prints out one record using
php_show_xy statements but when I try to print out a query with multiple
lines of data I get an error that reads
Fatal error: Uncaught exception 'PDFlibException' with message 'Function
must not be called in 'object' scope' in
Hi all,
I'm new in PHP programming and I have a problem with this script. I need
to read a large file around 2Mb and several lines (28000). All start Ok,
but suddenly the script stop without message error.
?php
$fichero=62007lg.txt;
$buffer = file($fichero);
$lineas =
New to php and this list. Googled a lot and scoured newsgroups to no
avail. So now I'm here looking for an answer. Here's my offending line:
$gotFile = ftp_get( $connection, $destination, $source,
FTP_BINARY );
Just prior to execution all parameters have valid values. The
following
On 6/22/07, Phil Curry [EMAIL PROTECTED] wrote:
New to php and this list. Googled a lot and scoured newsgroups to no
avail. So now I'm here looking for an answer. Here's my offending line:
$gotFile = ftp_get( $connection, $destination, $source,
FTP_BINARY );
Just prior to execution all
Tijnema [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On 6/21/07, Dan [EMAIL PROTECTED] wrote:
I'm using Delphi4PHP so a lot of the code is prewritten components,
libraries, etc. Here's some code that I can post without giving away too
much. As you can see it's not your typical
On 6/22/07, Mike Ryan [EMAIL PROTECTED] wrote:
I have created a pdf form with php that prints out one record using
php_show_xy statements but when I try to print out a query with multiple
lines of data I get an error that reads
Fatal error: Uncaught exception 'PDFlibException' with message
On 6/22/07, Dan [EMAIL PROTECTED] wrote:
Tijnema [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On 6/21/07, Dan [EMAIL PROTECTED] wrote:
I'm using Delphi4PHP so a lot of the code is prewritten components,
libraries, etc. Here's some code that I can post without giving away too
On 6/22/07, Phil Curry [EMAIL PROTECTED] wrote:
Oops forgot that part. Yes If I use an ftp client or just command
line ftp I can get the file. That's why I thought it must be my code.
-Phil Curry
And what about the local file? Does PHP has the rights to create the local file?
Does this work:
On Friday 22 June 2007 10:59 am, Tijnema wrote:
On 6/22/07, Ray [EMAIL PROTECTED] wrote:
hello,
I'm having some problems with fsockopen and was hopping for some help.
I try to connect to a host via fsockopen and I get getaddrinfo failed
errors, but if I try fsockopen with google,
On Fri, 22 Jun 2007 18:09:02 +0100 Tijnema wrote:
On 6/22/07, Andres Rojas [EMAIL PROTECTED] wrote:
Hi all,
I'm new in PHP programming and I have a problem with this script. I need
to read a large file around 2Mb and several lines (28000). All start Ok,
but suddenly the script stop without
Oops. Forgot to mention
If I use an ftp client of ftp from the command line, I can 'get' the
file. This is why I thought it was my code.
Thanks.
-Phil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks again for the info, Jim. will look into the 'install to flash drive'
information. Technically that's not what I'm doing, just want to store the
virtual machine on the flash drive, but the installation instructions should be
tight enough to be pertinent still.
I think you got close
logic is subjective.
When I read Because it breaks the logical sequence of discussion., I already
knew what you were talking about without having to read the question.. because
I knew what was being discussed in this thread. If it wasn't an answer to my
original question, then it was about
hello,
I'm having some problems with fsockopen and was hopping for some help.
I try to connect to a host via fsockopen and I get getaddrinfo failed
errors, but if I try fsockopen with google, everything works.
sample test code
Actually I went through and commented out all my code, releasing functions
from the huge comment as I ran the code and didn't see the error. I came
down to two functions which has function names that apparently were STILL
bad, I don't know what names are reserved in D4PHP so I guess I'll have
[EMAIL PROTECTED] wrote:
logic is subjective.
When I read Because it breaks the logical sequence of discussion.,
I already knew what you were talking about without having to read the
question.. because I knew what was being discussed in this thread.
If it wasn't an answer to my original
I have an image.php script that generates images on the fly,
way back when this didn't even cache it's result! over time it's got better
and better so that now it caches resampled images and outputs Last-Modified
headers so that it can send subsequent requests and send out a 304
if appropriate.
On 6/21/07, Tijnema [EMAIL PROTECTED] wrote:
On 6/21/07, Justin P. Goldberg [EMAIL PROTECTED] wrote:
Matt Cutts blogged about color-coding messages in his inbox like Mutt
does,
http://www.mattcutts.com/blog/keep-it-coming-gmail/
and the solution he found,
hey Jochem,
as far as I can see, this should work for you:
?php
$stats = stat('/dev/shm/file');
$etag = sprintf('%x-%x-%x', $stats['ino'], $stats['size'],
$stats['mtime']); // lowercase hexadecimal numbers separated by dashes
header('Etag: '.$etag);
?
Assuming your apache is configured to use
On 6/22/07, Justin P. Goldberg [EMAIL PROTECTED] wrote:
On 6/21/07, Tijnema [EMAIL PROTECTED] wrote:
On 6/21/07, Justin P. Goldberg [EMAIL PROTECTED] wrote:
Matt Cutts blogged about color-coding messages in his inbox like Mutt
does,
http://www.mattcutts.com/blog/keep-it-coming-gmail/
On 6/22/07, FrozenDice [EMAIL PROTECTED] wrote:
I came up with a what I presume to be quicker way of doing this by
knowing the format. Since the headers always have \r\n after each
line, then a blank line before the content I made this little bit of
code.
$explodedResult =
On 6/22/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
logic is subjective.
When I read Because it breaks the logical sequence of discussion., I already
knew what you were talking about without having to read the question.. because I knew
what was being discussed in this thread. If it wasn't
On 6/22/07, Stut [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
logic is subjective.
When I read Because it breaks the logical sequence of discussion.,
I already knew what you were talking about without having to read the
question.. because I knew what was being discussed in this thread.
On 6/22/07, FrozenDice [EMAIL PROTECTED] wrote:
What do you mean not all the data is sent at once? I'm doing a http
request, the browser responds sending back the code for the page.
I've never heard of it sending back multiple responses. Plus I'm
controling what the server sends from the ISAPI
On 6/22/07, Tijnema [EMAIL PROTECTED] wrote:
On 6/22/07, FrozenDice [EMAIL PROTECTED] wrote:
What do you mean not all the data is sent at once? I'm doing a http
request, the browser responds sending back the code for the page.
I've never heard of it sending back multiple responses. Plus I'm
To all
Has http://pastebin.com/ already been forgotten about?
Just think about the amount of space that would be saved it people would post code there first and
then link it in there email.
It might hurt some that are not running on the net when they check their email, but it does have
code
On 6/23/07, Jim Lucas [EMAIL PROTECTED] wrote:
To all
Has http://pastebin.com/ already been forgotten about?
Just think about the amount of space that would be saved it people would post
code there first and
then link it in there email.
It might hurt some that are not running on the net when
hi Tul,
thanks for the feedback ... can I borrow your brain for a little longer?
M. Sokolewicz wrote:
hey Jochem,
as far as I can see, this should work for you:
?php
$stats = stat('/dev/shm/file');
$etag = sprintf('%x-%x-%x', $stats['ino'], $stats['size'],
$stats['mtime']); //
Daniel Brown wrote:
My Spam filter got sick from over-eating.
didn't your mother ever tell not to eat the crayons? :-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/23/07, Fernando Cosso [EMAIL PROTECTED] wrote:
SPAAM
And under which category falls above message?
SPAM??
--
Vote for PHP Color Coding in Gmail! - http://gpcc.tijnema.info
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi gang:
I have a client who over the years thought it was great to enter html
tags directly into his database via his CMS for display in his web
site.
Now, he has a mess with some data being shown one way, when he wants
it shown another. Plus, not all the tags are well formed and some are
On Sat, 2007-06-23 at 00:16 -0400, tedd wrote:
Hi gang:
I have a client who over the years thought it was great to enter html
tags directly into his database via his CMS for display in his web
site.
Now, he has a mess with some data being shown one way, when he wants
it shown another.
You can use something like html_tidy to make the code sane, and strip_tags()
to remove tags you don't want him using for whatever reason. As for changing
b to i because the style guide changed, well, you're on your own there
without some really trippy regexing that is well beyond my
61 matches
Mail list logo