Đã Đóng

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

Kĩ năng: Apache, Linux, PHP, Python

Xem nhiều hơn: 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

Về Bên Thuê:
( 127 nhận xét ) mycity, Macedonia

ID dự án: #17788263

8 freelancer đang chào giá trung bình $68 cho công việc này


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 trong 1 ngày
(31 Nhận xét)

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 Thêm

$45 USD trong 7 ngày
(8 Nhận xét)

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 Thêm

$100 USD trong 2 ngày
(4 Nhận xét)

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 Thêm

$30 USD trong 10 ngày
(4 Nhận xét)

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 Thêm

$20 USD trong 0 ngày
(19 Nhận xét)

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 Thêm

$111 USD trong 1 ngày
(3 Nhận xét)

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 Thêm

$30 USD trong 3 ngày
(0 Nhận xét)

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 trong 1 ngày
(0 Nhận xét)