Go Down

Topic: php_serial.class.php (Read 990 times) previous topic - next topic

playagood

Feb 18, 2013, 05:21 am Last Edit: Feb 18, 2013, 05:50 am by playagood Reason: 1
Hi,
    I am trying to communicate :smiley-zipper: through serial with the Arduino.  

Os: Windows

All the tutorial requires the php serial class. I downloaded the code , but where do I put it?  In my webserver folder(ex /www/Arduino/php_serial.class.php)?

Do I add the folder where it is located as an environement variable?

Do I put it in a php program folder?

Thank you  :smiley-yell:

playagood

Find an answer: just include it in my project folder where the index.php is.

index.php will request at the beginning of the script.

Newbie I am.

Thank you

PaulS

PHP is great for writing to the serial port, on Windows, Linux, and Macs.

PHP is great for reading from the serial port, on Linux and Macs. It can't, on Windows.

On Windows, it may not be the best choice.

Go Up