|
Posted by Sanders Kaufman on 11/13/07 15:49
"joshuajnoble" <joshuajnoble@gmail.com> wrote in message
news:1194915572.316182.224350@d55g2000hsg.googlegroups.com...
> Hi all, I'm working with a flash application that sends a small JPEG
> as binary data over a post to a PHP script. I'd like the script to be
> able to display that JPEG but I've tried imagecreatefromstring without
> any luck and looked through the documentation without much luck. The
> data getting sent to the PHP script is a valid JPEG file, but I'm not
> sure what to do with it once it gets there. Is there a way to do this,
> or is there a better way to do it, or is this not possible? Thanks for
> any advice or hints.
The way I would do it is to binhex the data and include it inline with the
IMG tag.
That way, you don't have to save the fragment to a file.
Navigation:
[Reply to this message]
|