daydreamer Posted November 15, 2008 Share Posted November 15, 2008 I have two web servers, one linux, one windows. How do I run a script on the windows one, which then calls a function from a php script from the linux one? I want the function to execute on the linux machine, then return a string to the php script running on the windows server. I have read that including the file wont work, because they are different servers. How do I go about doing this? Thanks. Quote Link to comment Share on other sites More sharing options...
ratcateme Posted November 15, 2008 Share Posted November 15, 2008 i think the only way really is to use a cURL request from the windows server to the linux server. but that will put your load time up as it has to make a HTTP request. Scott. Quote Link to comment Share on other sites More sharing options...
daydreamer Posted November 15, 2008 Author Share Posted November 15, 2008 yeh thats what i was thinking just after i posted. I dont think load time will be any problem as they are on a LAN. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.