I think what you need to do is look at the sockets section of the manual. Regards, Mikey > -----Original Message----- > From: D A GERM [mailto:dgerm@xxxxxxxxxxxx] > Sent: 23 March 2005 14:46 > To: php-general@xxxxxxxxxxxxx > Subject: php command > > is there a command that will allow me to connect to another > box and execute commands? > > for instance, I want to create an automated php script that > will connect to a unix box and run a series of commands. I > believe that ssh2_exec() and ssh2_shell() are not supported > in the 4.3.4 version of php I am running. > > I thought of exec(); i could telnet in to the box but I > didn't know if another exec() statement would pass the > aurguments to the original telnet session set up in a > previous exec() statement. > > -- > PHP General Mailing List (http://www.php.net/) To > unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php