File read Parser error

From: Date: Thu, 30 Aug 2001 22:06:38 +0000
Subject: File read Parser error
Groups: php.general 
Request: Send a blank email to php-general+get-65373@lists.php.net to get a copy of this message
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));
               fclose($toread);
echo "$contents";
             ?>


« previous php.general (#65373) next »