PHP file_get_contents() returns “failed to open stream: HTTP request failed!”

前端 未结 11 870
名媛妹妹
名媛妹妹 2020-11-22 13:03

I am having problems calling a url from PHP code. I need to call a service using a query string from my PHP code. If I type the url into a browser, it works ok, but if I use

11条回答
  •  Happy的楠姐
    2020-11-22 13:57

    I'm not sure about the parameters(mpaction, format), if they are specified for the amazonaws page or ##.##.

    Try to urlencode() the url.

提交回复
热议问题