[PHP] 0x0A after download using a PHP script (repost)

2003-07-12 Thread news.verizon.net
Hi there again. Sorry for reposting, did not realize outlook express put "News.Verizon.Net" on the "From" field. I've a script to download a file. The script adds the 1st byte 0x0A to the downloaded file no matter what I do: if ($file = fopen($path, 'rb

[PHP] 0x0A after download using a PHP script

2003-07-12 Thread news.verizon.net
Hi. I've a script to download a file. The script adds the 1st byte 0x0A to the downloaded file no matter what I do: if ($file = fopen($path, 'rb')) { while(!feof($file) and (connection_status()==0)) { print(fread($file, 1024*8)); flush(); } } Even, when I comment ou