Home › Forums › TrueRNG Hardware random number generator › How to read data from PHP?
This topic contains 1 reply, has 2 voices, and was last updated by Ubld.it Staff 11 months, 4 weeks ago.
I have successfully installed PHP, DIO library and dio_open() works, the serial port is opened. But what’s next?
I see stuff in Python script which I don’t understand. Can comeone please give an example how to read data from PHP?
Using TrueRNG Pro, Windows, WAMP server
Just a quick google. If you look at this link:
You will see the open it, set the port attributes, then read bytes from it. It’s the same as every language dealing with a serial port.
Just make sure you are reading binary data.
You must be logged in to reply to this topic.