|
ssh2_execExecute a command on a remote server Description
resource ssh2_exec
( resource
$session
, string $command
[, string $pty
[, array $env
[, int $width = 80
[, int $height = 25
[, int $width_height_type = SSH2_TERM_UNIT_CHARS
]]]]] )Execute a command at the remote end and allocate a channel for it. Parameters
Return Values
Returns a stream on success or Examples
Example #1 Executing a command
<?php See Also
|