note 22790 added to function.fopen

From: Date: Sun, 30 Jun 2002 03:44:35 +0000
Subject: note 22790 added to function.fopen
Groups: php.notes 
Request: Send a blank email to php-notes+get-32430@lists.php.net to get a copy of this message
I think all the questions referring to getting to the front of the file can be done with the "rewind(int fp)" function. I have a book from work about PHP and it has that listed. "The only parameter is the file handle of the appropriate file. The return value is true on success, false on failure [obviously]." The only problem there might be is that they use a 3.*.* version of PHP in here, so it might have been removed from PHP 4? Try it if you need it I guess, it might save you some time. -- http://www.php.net/manual/en/function.fopen.php http://master.php.net/manage/user-notes.php?action=edit+22790 http://master.php.net/manage/user-notes.php?action=delete+22790 http://master.php.net/manage/user-notes.php?action=reject+22790

« previous php.notes (#32430) next »