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? Quote 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() Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.