RE: php command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux