Richard, have you tried base64encoding the data before posting?

best,

Mark

On 23 Jan 2008, at 20:59, Richard Miller wrote:

I'm trying to use the CGI POST method and stdin to grab a JPEG file through a browser. The file comes in and I can save it (as a binary file), but the file data is a bit corrupted... particularly at the beginning and end. I can delete those sections, but I'm still noticing some extra characters throughout the file. I don't know why this is and if it can be fixed, but without that, the routine simply doesn't work. Is there any hope for this method of capturing image files from a user via a browser?

Thanks.
Richard Miller
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to