PHP question: controlling Arduino over Ethernet using LAMP

Here is another thread that covers php with an Arduino.
http://arduino.cc/forum/index.php/topic,124289.0.html
Code examples for both the Arduino and the server there.