drupal_http_request returning nothing for images?
Deciphered - June 2, 2008 - 02:07
Hi guys,
I'm trying to add a feature to my module where it will take an image generated externally and save it locally, I'm using drupal_http_request to get the image, which seems logical to me, but it will return absolutely nothing if the url is an image, not even an error.
Any ideas? Is it my server or an issue with drupal_http_request?

Same Issue
I'm having the same issue at the moment in Drupal 5. I'm setting it to run in a cron, and when the cron is ran (manually with debug) it is simply returning nothing.
Jake Strawn
Personal Blog - http://himerus.com
Hi himerus, If I recall
Hi himerus,
If I recall correctly, my issue was user related; I believe my code was simply bad.
But it was a long time ago now, and the issue did definitely get solved.
The module in question, I believe, was Mobile Codes. Feel free to have a look at the code if you think it will be of any help to you.
Cheers,
Deciphered.
- http://stuar.tc/lark