Why isn't an Image saved on PHP server?

  • Thread starter Windows Central Question
  • Start date
W

Windows Central Question

Image is not save on PHP server...

I'm developing a Windows Phone Application which uploads a user selected photo to a server using PHP. For this, I'm trying to convert the image to base64 and POST it to PHP where it is decoded back to JPG image.

The base64 string is successfully posted to the PHP but I always get a corrupted JPG file instead of the original image at the server (meaning that there is some error in encoding/decoding of the image).
 

Members online

Forum statistics

Threads
323,311
Messages
2,243,618
Members
428,056
Latest member
Carnes