[PHP] File read Parser error

2001-08-30 Thread Gary
Can someone tell me why I am getting an error for the second line below. It works locally but not live. ?php $filename = www/name/test/free.txt $toread = fopen($filename, 'r'); $contents = fread($toread, filesize($filename));

RE: [PHP] File read Parser error

2001-08-30 Thread Don Read
On 30-Aug-2001 Gary wrote: Can someone tell me why I am getting an error for the second line below. It works locally but not live. ?php $filename = www/name/test/free.txt ^ semi-colon ?

Re: [PHP] File read Parser error

2001-08-30 Thread Gary
geez, time to call it a day! Thanks Gary Don Read wrote: On 30-Aug-2001 Gary wrote: Can someone tell me why I am getting an error for the second line below. It works locally but not live. ?php $filename = www/name/test/free.txt

Re: [PHP] File read Parser error

2001-08-30 Thread Franklin van Velthuizen
Gary wrote: Can someone tell me why I am getting an error for the second line below. It works locally but not live. ?php $filename = www/name/test/free.txt $toread = fopen($filename, 'r'); $contents = fread($toread, filesize($filename));

Re: [PHP] File read Parser error

2001-08-30 Thread John Meyer
At 11:53 PM 8/30/01 +0200, you wrote: Gary wrote: Can someone tell me why I am getting an error for the second line below. It works locally but not live. ?php $filename = www/name/test/free.txt $toread = fopen($filename, 'r'); $contents =