Run PHP Script on Another Server
Posted: Mon Sep 17, 2007 4:46 pm
I've seen similar questions asked before but they either do not fit my situation or went unanswered.
Basically we have a PHP script running on a server on our intranet that creates directories based on client name and job number. In an effort to simplify things for the account reps setting these up, I would like it to also add the same directories on our client site. I'm wondering what the best way to do this would be.
I'm envisioning it looking something like this (removing other functions of the script):
Computer A (Intranet) ->Run PHP Admin Script -> Calls script on Computer B and passes info to it -> Takes info creates new directories
Where I'm struggling is what sort of limitations I will have on the remote server to pass variables and have it run the script and create the directories.
I hope this made sense.
Thanks in advance,
-peel
Basically we have a PHP script running on a server on our intranet that creates directories based on client name and job number. In an effort to simplify things for the account reps setting these up, I would like it to also add the same directories on our client site. I'm wondering what the best way to do this would be.
I'm envisioning it looking something like this (removing other functions of the script):
Computer A (Intranet) ->Run PHP Admin Script -> Calls script on Computer B and passes info to it -> Takes info creates new directories
Where I'm struggling is what sort of limitations I will have on the remote server to pass variables and have it run the script and create the directories.
I hope this made sense.
Thanks in advance,
-peel