PHP to Pd class // WAS: Re: [PD] send GET with netclient (pd <-> php)

Alexandre Quessy listes at sourcelibre.com
Wed Sep 14 07:13:35 CEST 2005


Hi all,

Yes, I would go with the pyext or shell way. (wget, curl, etc...)
By the way, here is a PHP class to send data to Pd through UDP. Just in 
case it might be useful.
You will need to remove the help part at the end of it to use it in 
your own page, and then just include it.
There is an example patch, using netreceive.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: php2pd.zip
Type: application/zip
Size: 2545 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20050914/c8b51d29/attachment.zip>
-------------- next part --------------


Enjoy ! Don't hesitate to send me comments.

Alexandre Quessy
http://www.sourcelibre.com/puredata/









Le 05-09-13, ? 11:14, Roman Haefeli a ?crit :

> hi carmen

> you're right. i wanted to say, that it is may not possible in pd itself
> (or is it?), since i know enrique and that he rather not uses pd with
> another script-language.
>
> cheers
>
> "carmen" wrote:
>
>
>> On Tue, Sep 13, 2005 at 04:26:36PM +0200, Roman Haefeli wrote:
>>> hi eni
>>>
>>> i thinks its no way that you can make HTTP GET-requests with pd
>>
>> why not? with python:
>>
>> import urllib
>> data = urllib.urlopen('http://www.blahblah/').read()
>> (pyext output crap here)
>
>
> 	
>
> 	
> 		
> ___________________________________________________________
> Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier 
> anmelden: http://mail.yahoo.de
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>
>


More information about the Pd-list mailing list