Jump to content

fopen not working for external url


antpre
 Share

Recommended Posts

Hi,

I am trying to run a script on my processwire installation  (custom admin page). This script has to work with external files (hosted on S3).

The php fopen command returns a "failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request "

On my php ini the allow_url_fopen is on . I guess it is not an issue with php conf

If I copy the url of the file I am trying to open, in a browser, I can access the file. I guess it is not a permission issue on the S3 bucket.

Any idea would be welcome

Thanks a lot

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...