The whole trick of this is to make PHP send and receive data via serial interface. By using php_serial.class.php it is possible and pretty easy to do.
By following this simple guide you’ll be able to control Arduino via web interface by using simple serial connection. Also PHP is able to collect data from Arduino and then display it, graph it or even store in MySQL database. Think of projects that you can make with this ability…