|
PHP5中文手册
ssh2_exec(PECL ssh2:0.10-0.9) ssh2_exec — Execute a command on a remote server 说明
resource ssh2_exec
( resource $session
, string $command
[, string $pty
[, array $env
[, int $width
[, int $height
[, int $width_height_type
]]]]] )
Execute a command at the remote end and allocate a channel for it. 参数
返回值Returns a stream on success or FALSE on failure. 范例
Example#1 Executing a command
<?php |