Reading remote text?
Posted: Wed Oct 18, 2006 1:12 pm
Hello,
I'm having a php issue that I imagine would be very easy to solve if I knew what to be searching for, and provided it's possible, which it really seems like it should be. I am writing a script, and I want to be able to run a remote php script and use the result of that in this script. For instance, the script at http://www.mydomain.com/script.php?variable=3 will, when run in a browser, write out a string. I want to write a php script on another domain that, when run, will call the first script, get the string it writes out, and use it to do something else.
Any help on how to do this, or a term to describe it that I could be searching for would be most appreciated,
Thanks,
Rob
I'm having a php issue that I imagine would be very easy to solve if I knew what to be searching for, and provided it's possible, which it really seems like it should be. I am writing a script, and I want to be able to run a remote php script and use the result of that in this script. For instance, the script at http://www.mydomain.com/script.php?variable=3 will, when run in a browser, write out a string. I want to write a php script on another domain that, when run, will call the first script, get the string it writes out, and use it to do something else.
Any help on how to do this, or a term to describe it that I could be searching for would be most appreciated,
Thanks,
Rob