update : 2015.11.03
php.shukuma.com검색:
|
ssh2_exec(PECL ssh2 >= 0.9.0) ssh2_exec — Execute a command on a remote server 설명
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. 인수
반환값
Returns a stream on success실패 시 예제
Example #1 Executing a command
<?php 참고
|