note 67426 added to function.fsockopen

From: Date: Wed, 07 Jun 2006 21:09:19 +0000
Subject: note 67426 added to function.fsockopen
Groups: php.notes 
Request: Send a blank email to php-notes+get-113668@lists.php.net to get a copy of this message
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!! ---- Server IP: 200.73.8.42 Probable Submitter: 200.122.155.198 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.fsockopen.php Edit -- http://master.php.net/note/edit/67426 Del: integrated -- http://master.php.net/note/delete/67426/integrated Del: useless -- http://master.php.net/note/delete/67426/useless Del: bad code -- http://master.php.net/note/delete/67426/bad+code Del: spam -- http://master.php.net/note/delete/67426/spam Del: non-english -- http://master.php.net/note/delete/67426/non-english Del: in docs -- http://master.php.net/note/delete/67426/in+docs Del: other reasons-- http://master.php.net/note/delete/67426 Reject -- http://master.php.net/note/reject/67426 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#113668) next »