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? Link to comment https://forums.phpfreaks.com/topic/103669-problem-with-server-side-php-script-to-recieve-json-messages/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.