finally i currected the KContentType as "application/x-www-form-urlencoded" rather than image/jpeg(in the client side) .
but my task is to upload an image to the server i need to transfer the image through POST request.how can i do it?
at client side i am copying file to Descriptor and try to transfer that discriptor throug POST request
but at server side
iPostDataImage = HBufC8::NewL(aSize+10) ;
TPtr8 aPtr = iPostDataImage->Des();
//Obviously we have to read in the data to the iPostDataImage (ray)
aFile.Read(0, aPtr, aSize);
i know i am wrong in some stages
if(isset($_POST["photo"]) || isset($_REQUEST['photo']) || isset($_POST['photo']))
$ourFileName = "jjjj.jpg";
$fh = fopen($ourFileName, 'w') or die("Can't open file");
can you please correct me