I am trying to read and write to a file on Line 5 and line 5 alone...
$file = fopen($fileName, "r+");
Places the pointer at the beginning of the file I have tried the
following...

    $line = fgets($file, 255);
   $line = fgets($file, 255);
   $line = fgets($file, 255);
   $line = fgets($file, 255);
   fputs($file, "the Line I want to write;");
but nothing is happening...  Please Help...

Kondwani



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to