you could also take a look at Lily http://code.google.com/p/lilyapp/
I'm using php sockets to connect web to pd. Using TCP or UDP, you can send values that are sent via GET or POST.
check fsockopen and fwrite :)
hope to release soon a patch for php and pd to make it fun
- ignacio aguirre
Marco