Jump to content

dealing with binary data


agravayne

Recommended Posts

Hello,

 

I am trying to deal with binary data - and am completely new to this - via PHP. What I am doing is emulating a device that will post to a socket server. I have a client page that emulates the device and a listening server that deals with data posted to it. What I have need to do in order to emulate this is create some binary data and post it - then read the binary data back in and deal with it appropriately.

 

Any ideas? I though about creating a file on the client side then reading that file in on the receiving side - but not sure how to create a binary file?

 

Any pointers?

 

Scott

 

Link to comment
https://forums.phpfreaks.com/topic/167967-dealing-with-binary-data/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.