I've been on this bit of code for a couple of days and have
traversed many snippets of code.
I created a drag and drop
app which allows
you to download the image you've created, and that works pretty
well. I got the code thanks to
henry
jones, used the jpegencoder, forum member David Stiller helped
me with that.
Anyway, what's driving me nuts may be a small thing. I found
someone else who had the identical
problem,
using the exact php code I was using. You can see the code there or
at the bottom of this post. Deleting the second header makes the
image appear directly in another window. It's a treat.
He says all he had to do to get it to work was:
problem solved
file_put_contents('filename.ext',
$GLOBALS["HTTP_RAW_POST_DATA"]);
what is filename.ext? why doesn't this work for me? I thought
it was just an example and switched it for thumb.jpg, a same level
existing jpeg, and set permissions at 666. I get no error but no
image. Tried about a hundred other things. Emailed the poster but
got no answer.
anyone know what would solve this problem?