Failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in?

The client_id is empty in the call that is actually made, so it looks like your $appID variable has no value when used on line 25.

One alternative is to use cURL (http://php.net/manual/en/book.curl.php) to get more details about the request before the print.

The only issue I can think of is spaces being in the url, most likely in the file name. All spaces in a url need to be converted to their proper encoding, which is %20 If you have a file name like this: somewhere.com/images/img 1. Jpg You would get the above error, but with this: somewhere.com/images/img%201.

Jpg You should have to problems Just use the str_replace() to replace the spaces (" ") for thier proper encoding ("%20") It looks like this: $url = str_replace(" ", "%20", $url) For more information on the str_replace() check out The PHP Manual.

The only issue I can think of is spaces being in the url, most likely in the file name. All spaces in a url need to be converted to their proper encoding, which is %20. If you have a file name like this: "somewhere.com/images/img 1.

Jpg" You would get the above error, but with this: "somewhere.com/images/img%201. Jpg" You should have to problems. Just use the str_replace() to replace the spaces (" ") for thier proper encoding ("%20") It looks like this: $url = str_replace(" ", "%20", $url); For more information on the str_replace() check out The PHP Manual.

Better than str_replace would be calling urlencode on the "img 1" string – Yuliy Jun 6 at 23:39.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions