Closed

reciving binary data in http POST

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

Skills: Apache, Linux, PHP, Python

See more: javascript binary data, sending binary data in json, responsetype arraybuffer, javascript read binary file, http post binary data content-type, jquery ajax send binary data, http post binary data, jquery ajax binary data, create xml file post data php, web service net post data, auto send post data, winsock post data, php script collect data http post, php curl send post data view result, http post data excel webform, http post form data, lead channel form post delivery method unique post url form submit data leadpoint http post method , php http post receive data, ios http post data, bkb post data entry control operator user id yjcxcy password h404631s please download your admit card at http bkb teletalk com b

About the Employer:
( 127 reviews ) mycity, Macedonia

Project ID: #17788263

8 freelancers are bidding on average $68 for this job

yujun21

Hello! I've clearly read your requirements and it's very interesting. I'm expert in php. If you choose me, you will see my high skill and best qualities. Please contact me. Thanks...

$40 USD in 1 day
(31 Reviews)
4.6
dslc

I have looked at the attachments, but unfortunately the PDF does not include enough information for decoding the binary data. What is the time attendance device? Is it, e.g., a ZKTeco model? If so, a library such as More

$45 USD in 7 days
(8 Reviews)
4.4
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 More

$100 USD in 2 days
(4 Reviews)
3.5
wordpress247

Hi, Hope you are doing well today. I have been through your project "reciving binary data in http POST " according to your project description it's really a quite easy job for me. Can you come over to chat to dis More

$30 USD in 10 days
(4 Reviews)
3.7
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 More

$20 USD in 0 days
(19 Reviews)
3.9
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 More

$111 USD in 1 day
(3 Reviews)
2.9
sanichuah61

Hello, Sir! Thank you for your job posting. I am very familiar with Php and I have rich experience with this over the 3 years. I can confidently implement this job as soon as possible. Looking forw More

$30 USD in 3 days
(0 Reviews)
0.0
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 in 1 day
(0 Reviews)
0.0