PHP DECODE http raw POST data contain BINARY
$10-30 USD
Pagado a la entrega
i have a device that send POST data to my server.
so print_r($_POST) is empty, i can see the data only when i run this
$content = file_get_contents('php://input');
var_dump($content); //or i can use print_r($content);
i save those to a file and result are some json and BINARY DATA (CHECK IMAGE in atachment)
if i add code like this json_decode($content,true); i dont see anything
so how can i decode that binary or what can i do to decode the json and also see what data is send in binary?
Please bid just if u can do this, if u are starter dont bid, coz this require more knowledge (dont waste my and your time)
Nº del proyecto: #17781659
Sobre el proyecto
7 freelancers están ofertando un promedio de $43 por este trabajo
i have 5+ experience in web development. I am sure will give you amazing results. if you have any questions please feel free to chat before ordering.
I can fix it upon receipt of server details. Please let me know. I'm getting custys. I'm good. I'll start tonight and finish tomorrow. UPDATE: What's happening is your are using fields. Files are different. Más
I can try this.. give me 1hr time. give me the complete code. once if iam able to do it, u can award me the project..
Hi, I am interested in your project, please send me a message so that we can discuss more details, contact me ; Thanks
Hi The issue you're having is that your JSON and binary image data are combined which is not good practice. Having said that, I can write you a PHP script to separate the two out, decode the JSON and save the image t Más