Running part of my code on another server

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Longland
Forum Newbie
Posts: 4
Joined: Fri Feb 15, 2008 1:26 pm

Running part of my code on another server

Post by Longland »

I apologize if this has been covered before - I don't know quite what to search for it under!

I have a script that runs on one of my own domains. For a variety of reasons I want to run a particular function of the script on another domain, situated on another server and then have the remote server return the result of a calculation (an array).

I can't use an include because that would, as far as I can see, simply bring the remote code into the script on the first server and not run it remotely.

Is it possible for me to do what I need to do? And if it is, how?

Thanks,

Longland
Post Reply