Pages: [1]   Go Down
Author Topic: php_serial.class.php  (Read 973 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: February 17, 2013, 11:50:28 pm by playagood » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 638
Posts: 50300
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Jump to: