Ditutup

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

Kemahiran: Apache, Linux, PHP, Python

Lihat lagi: 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

Tentang Majikan:
( 127 ulasan ) mycity, Macedonia

ID Projek: #17788263

8 pekerja bebas membida secara purata $68 untuk pekerjaan ini

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 dalam sehari
(31 Ulasan)
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 Lagi

$45 USD dalam 7 hari
(8 Ulasan)
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 Lagi

$100 USD dalam 2 hari
(4 Ulasan)
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 Lagi

$30 USD dalam 10 hari
(4 Ulasan)
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 Lagi

$20 USD dalam 0 hari
(19 Ulasan)
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 Lagi

$111 USD dalam sehari
(3 Ulasan)
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 Lagi

$30 USD dalam 3 hari
(0 Ulasan)
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 dalam sehari
(0 Ulasan)
0.0