rager Posted May 1, 2008 Share Posted May 1, 2008 I am having a problem in receiving data in php in json format I have a client page which will send a json request with the following headers Content-type : application/json Accept : text/plain The Json message contains the following fields 'photo' : a jpeg image (binary) 'title' : title of the photo (text) 'comment' : comments on the photo (text) can someone enlighten me on how do I write a simple server-side script in php to decode the Json file and just save the photo and print out the title and comment? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.