Lukket

PHP EXPERT: php://input -- Content-Type: application/octet-stream

DONT BID BEFORE U READ PROJECT COZ I WILL NOT ACCEPT UR BID:

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)

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?

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

THIS DIDNT WORK json_decode($content,true); coz its not all data json .

PLEASE BID JUST IF U KNOW HOW TO SOLVE IT, DONT WASTE MY TIME ,

so only bid if u really know what this is and how to soleve.

u have in atachment the php file which i recive to get data and logs file where data is saved

Evner: PHP

Se mere: php expert needed, web developer expert php, php script database input, php get file from post request, php stream file, file_get_contents (' php input '), christian php expert, ask php expert, php script excel input, php expert scripts, php expert knowledge, crawler type application php, http request type post using, looking young php expert, php fsockopen post input hidden, php click add input field, php web parameters dynamic content, php simple xml input proper utf, php curl form input type file

Om arbejdsgiveren:
( 127 bedømmelser ) mycity, Macedonia

Projekt ID: #17787139

9 freelancere byder i gennemsnit $38 på dette job

helmot

Hi, You mean you're looking for this part of data into an object? {"enroll_data_array":[{"backup_number":0,"enroll_data":"BIN_1"},{"backup_number":10,"enroll_data":"BIN_2"}],"user_id":"1","user_name":" ARLIND","user_ Flere

$30 USD in 10 dage
(128 bedømmelser)
7.8
ferozstk

Hello, After reading your project details I believe I'm suitable for this project. As I'm expert on with more than 5 years experience. Please feel free to contact me. I am looking forward to hear from you. Flere

$30 USD på 1 dag
(86 bedømmelser)
6.2
codeman01

Hi, I have seen the files and I can parse the Json and show it to the browser or save it to db. Pls contact me Over chat for more discussion

$35 USD på 1 dag
(14 bedømmelser)
5.0
EastIndiacom

Hello, I have checked the description and I would like to have detailed discussion through freelancer chat before we start. I will be here for any kind of assistance that you might need. Looking forward to your respon Flere

$30 USD in 10 dage
(22 bedømmelser)
4.5
$50 USD på 1 dag
(17 bedømmelser)
4.6
balexus

Hello. You need to study protocol of your time device. It is a better answer. Nobody can help you without protocol of your device. If you have the protocol i can help you Regards. Alexus

$66 USD in 3 dage
(2 bedømmelser)
3.5
wordpress247

Part-time, 10-20 hours a week for two candidates, that may rise up to 30-40 in the future. Your duties will include: -Handling online inquiries including order fulfilments and customer service. -Creating Listi Flere

$30 USD in 10 dage
(4 bedømmelser)
3.7
TechProSoftware

Hello Employer, I have carefully read your project description and i have more 3+ experience in web development I am quit well experience this type work. Now i am free to start work. Awaiting for your response Tha Flere

$30 USD på 1 dag
(1 bedømmelse)
0.0
justinjerald143

As we r working in php and MySQL for 1.5 years we will give the best of it

$40 USD in 3 dage
(0 bedømmelser)
0.0