reciving binary data in http POST

Ditutup Disiarkan 5 tahun lepas Dibayar semasa penghantaran
Ditutup Dibayar semasa penghantaran

i have a device (time attendance) that send POST data to my server every 10 seconds. ( i cant control or change the way it send data)

so in my server in php file i run print_r($_POST) and it 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 atachment)

but in php i cant get the binary , coz i see strange characters, few developer tried and they were not able to get it in php

so is there a way to get that binary and convert to ascii or whatever u like and then save to a file or send to php or whatever,

so i just want to recive binary and decode so i can see what info is there

p.s HTTP request Content-type is: [Content-Type] => application/octet-stream, application/octet-stream

Apache Linux PHP Python

ID Projek: #17788263

Tentang projek

5 cadangan Projek jarak jauh Aktif 5 tahun lepas

5 pekerja bebas membida secara purata $88 untuk pekerjaan ini

deepthi2889

Hi, I am a Full stack developer in Microsoft technologies.  My area of expertise is web application development (asp.Net web forms, MVC, classic ASP), web services (SOAP & RESTFul), MySql & Sql Server as back end (th Lagi

$111 USD dalam sehari
(7 Ulasan)
4.6
Priyanshu1

Hi Sorry for overbidding, but since you mentioned a few guys have already tried and you seem to be knowledgeable as well in php, that means it might be a little more complicated. But I will fix it may be with a little Lagi

$100 USD dalam 2 hari
(5 Ulasan)
4.0
CanadianCoder

Hello, I feel like I can help you get this work done. It should only take a few hours at most. I have a lot of relevant experience which would make this quick and painless. Feel free to ask me any questions before maki Lagi

$20 USD dalam 0 hari
(20 Ulasan)
3.9
frogsinnbo

I have done similar IOT work. I can solve this problem easily to your satisfaction. Relevant Skills and Experience Unix, server side, highly scalable systems C,c++,php, VC++,java

$166 USD dalam sehari
(0 Ulasan)
0.0