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 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. 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
Archived
This topic is now archived and is closed to further replies.