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

No members online now.

Forum statistics

Threads
324,230
Messages
2,245,202
Members
428,178
Latest member
TheStivo