* Sean Smith <[EMAIL PROTECTED]>:
> 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:[EMAIL PROTECTED]
Webmaster and IT Specialist       | http://www.garden.org
National Gardening Association    | http://www.kidsgardening.com
802-863-5251 x156                 | http://nationalgardenmonth.org

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to