Curl_setopt($ch, CURLOPT_HEADER, 1) This tells CURL to include the HTTP headers in what curl_exec returns. So you'll have a bunch of http "garbage" in front of the . Gif data, corrupting it.
Curl_setopt($ch, CURLOPT_HEADER, 1); This tells CURL to include the HTTP headers in what curl_exec returns. So you'll have a bunch of http "garbage" in front of the . Gif data, corrupting it.
Even if I remove that it still won't expand that relative path and get the file. – cstrouse Aug 3 at 19:19 curl doesn't know anything about paths. It'll just fire that url off in the request exactly as you provided it.
Have you tried opening that 'bad' 4k file in a text editor to see if it's really corrupted . Gif data, or has some error text? – Marc B Aug 3 at 19:29 Oh ok so it has to be an issue with the URL that's being passed in then?
– cstrouse Aug 3 at 19:40 perhaps msn has issues with you using curl to (obviously) scrape content and is serving up something other than a . Gif image. Look at the contents of the 'bad' file with a text editor.
– Marc B Aug 3 at 19:41 I'm sending the Chrome UA though so it shouldn't be an issue. I'll examine the contents of the image. Good suggestion.
– cstrouse Aug 3 at 19:42.
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.