ballhogjoni Posted May 30, 2013 Share Posted May 30, 2013 Using fopen how do I set the file pointer to end of file when opening a file? Link to comment https://forums.phpfreaks.com/topic/278607-how-to-set-file-pointer-to-end-of-file-when-opening-a-file/ Share on other sites More sharing options...
Psycho Posted May 30, 2013 Share Posted May 30, 2013 fseek() Link to comment https://forums.phpfreaks.com/topic/278607-how-to-set-file-pointer-to-end-of-file-when-opening-a-file/#findComment-1433232 Share on other sites More sharing options...
requinix Posted May 30, 2013 Share Posted May 30, 2013 Use the a or a+ mode when fopen()ing the file. Link to comment https://forums.phpfreaks.com/topic/278607-how-to-set-file-pointer-to-end-of-file-when-opening-a-file/#findComment-1433245 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.