RE: [PHP] php command
| From: | Mikey | Date: | Wed, 23 Mar 2005 14:53:21 +0000 |
| Subject: | RE: [PHP] php command | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-211386@lists.php.net to get a copy of this message | ||
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@shepherd.edu]
> Sent: 23 March 2005 14:46
> To: php-general@lists.php.net
> Subject: [PHP] 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
>
>