Re: How to read a jpg bytearray from a Flash AS3 file

2008-10-02 Thread Tim Roberts
[EMAIL PROTECTED] wrote: > >Thanks! I'm using form = cgi.FieldStorage(). When I print out the >contents of form, I get this: > >FieldStorage(None, None, '\xff\xd8\xff\xe0\x00\x10JFIF >\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb >\x00\x84\x00\x05\x03\x04\x04\x04\x03\x05\x04\x04\x04\x05\x05\

Re: How to read a jpg bytearray from a Flash AS3 file

2008-09-28 Thread rsgalloway
Thanks! I'm using form = cgi.FieldStorage(). When I print out the contents of form, I get this: FieldStorage(None, None, '\xff\xd8\xff\xe0\x00\x10JFIF \x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb \x00\x84\x00\x05\x03\x04\x04\x04\x03\x05\x04\x04\x04\x05\x05\x05\x06\x07\x0c \x08\x07\x07\x07

Re: How to read a jpg bytearray from a Flash AS3 file

2008-09-27 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: I'm trying to save an image from a Flash AS3 to my server as a jpg file. I found some PHP code to do this, but I want to do this in Python. I'm not quite sure how to convert the following code to Python. It's mainly the $GLOBALS["HTTP_RAW_POST_DATA"] part I don't know ho

Re: How to read a jpg bytearray from a Flash AS3 file

2008-09-26 Thread Kay Schluehr
On 26 Sep., 08:47, [EMAIL PROTECTED] wrote: > I'm trying to save an image from a Flash AS3 to my server as a jpg > file. I found some PHP code to do this, but I want to do this in > Python. I'd expect you use AS3 to save the image file ( just looking at Adobes AS3 docs on how this works ) and load

How to read a jpg bytearray from a Flash AS3 file

2008-09-25 Thread rsgalloway
I'm trying to save an image from a Flash AS3 to my server as a jpg file. I found some PHP code to do this, but I want to do this in Python. I'm not quite sure how to convert the following code to Python. It's mainly the $GLOBALS["HTTP_RAW_POST_DATA"] part I don't know how to convert. source: ht