Code: Select all
Server A Server B
IP : 1.1.1.1 IP : 2.2.2.2
PHP: v 5 PHP: v 4
My question: is it possible to include() or require() a script from a DIFFERENT machine, but have that script run and process on the machine that called it? My desired output from the above example would be 1.1.1.1, rather than 2.2.2.2 I have some third-party PHP libraries I wrote, and I don't want to have to copy them to each and every server where I want to use them. My idea is to just require() them from a stand-alone library server, but they need to run and process as if they were on the local machine that's calling them.
Thanks in advance for any help!