Jump to content

HTTP request failed


aye

Recommended Posts

Hi everyone!

Im trying to read a gzipped file on another webserver, but sometimes I am given the HTTP request failed error ([function.gzfile]: failed to open stream: HTTP request failed!), even though the file is still readable in the browser.. does anyone know what the cause of this error is and how it can be fixed?

Some help with this would be great :)

Link to comment
Share on other sites

A small update: tried getting the data with file_get_contents() and file() instead and then it works fine (though gzipped). So it is obviously nothing wrong with the communication.. this error is driving me mad :(

could it be that the host doesn't allow reading the file gzfile or something?

Link to comment
Share on other sites

(bump)

still has the same problem.. any help with this would be ver very nice :). I've searched google for "[function.gzfile]: failed to open stream: HTTP request failed!", but there was no results! guess im the only one having this problem :(

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.