Jump to content


Photo

Communication between two PHP scripts


  • Please log in to reply
1 reply to this topic

#1 TheSputnik1987

TheSputnik1987
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 02 April 2006 - 09:18 PM

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

#2 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 02 April 2006 - 10:03 PM

[!--quoteo(post=360973:date=Apr 2 2006, 10:18 PM:name=TheSputnik)--][div class=\'quotetop\']QUOTE(TheSputnik @ Apr 2 2006, 10:18 PM) View Post[/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.
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users