Calling an external php Script
Posted: Fri Jun 24, 2011 8:25 am
I have to do something that was not needed before. I have to create a php script (script1) on a domain. This script gets called by a script (script2) on another domain and the output of script1 (an array) is needed to be further calculated in script2. How is the best way to get this done?
I was thinking of calling the script, output the array e.g. as json string and do a file get contents
Is there a better way this should be done?
I was thinking of calling the script, output the array e.g. as json string and do a file get contents
Is there a better way this should be done?