We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › Receive PHP variable
Page Index Toggle Pages: 1
Receive PHP variable (Read 852 times)
Receive PHP variable
Sep 9th, 2009, 2:21am
 
Hi,

Is it possible to receive a variable from a php script in a processing app?

The plan is to start a processing app from a php script, the processing app saves a textfile, and the php script just waits until it detects this textfile exists.
However i would need the php file to tell the processing app what to save the textfile as so it knows what to look for. How would i go about this? im under the impression i need to run a 'system' command in php to get the app running, but is there some way to declare a variable in this that processing picks up?

would love some advice and help.

cheers

Page Index Toggle Pages: 1