note 67426 deleted from function.fsockopen by nlopess
| From: | nlopess@php.net | Date: | Wed, 07 Jun 2006 21:26:42 +0000 |
| Subject: | note 67426 deleted from function.fsockopen by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-113674@lists.php.net to get a copy of this message | ||
Note Submitter: cyber
----
I need to execute a program from a php application, but this program is on a remote server, I need
the returned value (string) of this execution.
Can somebody help me with this???
This is part of my pseudocode
$command = "ip.ip.ip.ip ./remote_command $param1 $param2"
exec($command, $res);
echo $res[0];// there's nothing!!!
echo $res;// there's an ARRAY!!!
This is no working yet!!