devWhiz Posted March 3, 2011 Share Posted March 3, 2011 aside from file_get_contents(); is there a way to reload a header quicker than that file_get_contents offer? How would I set up a HEAD request to load a header? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/229470-fastes-way-to-reload-a-header/ Share on other sites More sharing options...
bh Posted March 3, 2011 Share Posted March 3, 2011 Hi, with file_get_contents you load the entiry file into the memory. If you want to load only a part of the file you can use fgets or fread for reading. For positioning in the file use: fseek. Quote Link to comment https://forums.phpfreaks.com/topic/229470-fastes-way-to-reload-a-header/#findComment-1182268 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.