Jump to content

Archived

This topic is now archived and is closed to further replies.

TheSputnik1987

Communication between two PHP scripts

Recommended Posts

I want two scripts to be able to send and receive commands and transfer data according to the commands sent by either of the two scripts on seperate servers.

Thanks,
TheSputnik

Share this post


Link to post
Share on other sites
[!--quoteo(post=360973:date=Apr 2 2006, 10:18 PM:name=TheSputnik)--][div class=\'quotetop\']QUOTE(TheSputnik @ Apr 2 2006, 10:18 PM) [snapback]360973[/snapback][/div][div class=\'quotemain\'][!--quotec--]
I want two scripts to be able to send and receive commands and transfer data according to the commands sent by either of the two scripts on seperate servers.

Thanks,
TheSputnik
[/quote]

what have you got so far?

you might get some good ideas on this by looking at stuff like fsockopen/fopen/$_GET, etc. $_GET would be the EASIEST way to pass info to another script, but fsockopen, etc, would be useful if you wanted to make a full, useful interface between the two scripts.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.