note 50314 added to function.ssh2-shell
| From: | kk at osu1 dot php dot net | Date: | Thu, 24 Feb 2005 14:10:04 +0000 |
| Subject: | note 50314 added to function.ssh2-shell | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-85485@lists.php.net to get a copy of this message | ||
is it possible to fetch the output ??
like this::
$stream = ssh2_exec($connection, "ls");
then i wanna type the output that comes from 'ls'
to the browser.!?!
but when i do
echo $stream;
the he types 'Resource ID ...'
how could i type the STDOUT to the Browser????
----
Manual Page -- http://www.php.net/manual/en/function.ssh2-shell.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50314
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50314&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50314&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50314&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50314&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50314&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50314&report=yes
Search -- http://master.php.net/manage/user-notes.php