On Tue, 01 Jul 2003 10:59:53 -0500, Kyle Babich wrote: >How would I set the file pointer to the very end of the last line of the >file?
Assuming you are trying to append to the file you can do the following (open output append): $fHandle = fopen( "file.txt", "a" ); or you can fopen the file in read mode (or whatever) and then do an fseek... $fHandle = fopen( "file.txt", "r" ); fseek( $fHandle, 0, SEEK_END ); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php