Hi list,
I'm planning to controll Pd via a web page. I remember some posts some time ago concerning this kind of thing. Could anybody brobably send me an example PHP file (or CGI script) that does the connection / sending? I just don't want to spend too much time on things that already have been done... (and I'm not that good in writing PHP ;-( )
thanks a lot,
Olaf
Olaf Matthes about [PD] PHP -> netreceive / Yesterday
|Hi list, | |I'm planning to controll Pd via a web page. I remember some posts some |time ago concerning this kind of thing. Could anybody brobably send me |an example PHP file (or CGI script) that does the connection / sending? |I just don't want to spend too much time on things that already have |been done... (and I'm not that good in writing PHP ;-( )
basically all you need is this http://www.php.net/manual/en/ref.sockets.php and php compiled with --enable-sockets which the e.g. debian version is.
theres examples listed for php server and client.
i made a quick modification of it which i hopefully dont forget to attach now.
klick http://test.at/s.php listn http://stream.mp3.at:13012/05T
-- X Ð V . 0 r 6