Re: [PHP] fread & EOF

2002-10-29 Thread Marek Kilimajer
Would not be closing the conection in the perl script enough? Martin Adler wrote: Hi, this php-script should read from a server (that i've written in perl) until it receives the EOF signal. My server sends the EOF-signal by print $client "\n\004"; # \004 = EOF to my script but fread would

[PHP] fread & EOF

2002-10-28 Thread Martin Adler
Hi, this php-script should read from a server (that i've written in perl) until it receives the EOF signal. My server sends the EOF-signal by print $client "\n\004"; # \004 = EOF to my script but fread wouldn't stop reading and i don't have any ideas why. Is php using an other sign for EOF?