note 70416 modified in function.ssh2-exec by danbrown
| From: | danbrown@php.net | Date: | Wed, 17 Feb 2010 14:55:02 +0000 |
| Subject: | note 70416 modified in function.ssh2-exec by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-166071@lists.php.net to get a copy of this message | ||
as of 0.9 and above, if not allocating a pty, add FALSE to the call...
old way:
<?php ssh2_exec($connection, $command); ?>
new way:
<?php ssh2_exec($connection, $command, FALSE); ?>
--was--
as of 0.9 and above, if not allocating a pty, add FALSE to the call...
old way:
ssh2_exec($connection, $command);
new way:
ssh2_exec($connection, $command, FALSE);
http://php.net/manual/en/function.ssh2-exec.php