Can someone tell me why I am getting an error for the second line below. 
It works locally but not live.

                $filename = "www/name/test/free.txt"
                $toread = fopen($filename, 'r');
                $contents = fread($toread, filesize($filename));
                           echo "$contents";

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to