Jump to content

saving the image file got from POST variable


lokesh_kumar_s

Recommended Posts

hi i sent the contents of the image file in the post request from symbian c++.

i will show u the Http Request headers also

POST /secure/photo.php HTTP/1.1
Host: www.nelgosecurity.com
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
Accept-Encoding: gzip, deflate
Accept-Language: en-us
User-Agent: SimpleClient 1.0
Content-Length: 9
Content-Type: application/x-www-form-urlencoded

photo=ddd

how can i write this one into image file correctly

i want to save it as jpg file ignore "photo=ddd" ddd will be the contents of image in reality please help

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.