View Full Version : Executing script located on different server

09-19-2010, 02:50 PM
I wrote a script that I want people to be able to (willingly) include on their website but is executed from my server.


09-19-2010, 06:04 PM
Not if you are intending it to process.
If you fetch anything remotely, you will be provided with the results of the script, not the processing capability of the script. This is how PHP works on the http, and would be a massive security risk if it were otherwise.
Your options is to either use a plain text document which they can include for evaluation, or write a soap or rest style service to allow them to request data, or even just process.