Re: remote script execution

From: Date: Tue, 07 Sep 2004 13:48:27 +0000
Subject: Re: remote script execution
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-196032@lists.php.net to get a copy of this message
* Sean Smith <ssmith@redred.com>: > Scenario > > Server 1 is a LAMP webserver. > > Server 2 is an email server. > > I have a php script on Server 2 that creates user accounts and echos the > UID, GID, and HOME. It works great when your logged into Server 2 and > run it from the CLI. > > What I'm trying to do is have my GUI on Server 1 call the script on > Server 2 and have Server 2 return the variable back to Server 1 for > processing. Is that possible? Any help would be appreciated. Thank you. Try using fopen (assuming you have PHP compiled to allow streams with the f* functions) or cURL; I've used both with good success, in similar situations. -- Matthew Weier O'Phinney | mailto:matthew@garden.org Webmaster and IT Specialist | http://www.garden.org National Gardening Association | http://www.kidsgardening.com 802-863-5251 x156 | http://nationalgardenmonth.org

« previous php.general (#196032) next »