PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi everyone! I'm trying to read a gzip compressed file using the gzfile() function. The problem is that ~1/3 of all the pages I am trying to read gives a HTTP request failed error ([function.gzfile]: failed to open stream: HTTP request failed!), even though it is accessbile through the browser. Does anyone know what causes this error and how it can be fixed?
Any help with this would be great!
feyd wrote:PHP may not receive a result from the server you are requesting from in the time frame PHP expects to receive said result in.
What are you attempting to do?
I'm scraping a torrent tracker. scrape files can be quite large (up to 15mb). Maybe the problem is in that then..
So.. how do you fix this? increase max_execution_time ?