note 16845 rejected from function.popen by zak

From: Date: Thu, 15 Nov 2001 23:03:31 +0000
Subject: note 16845 rejected from function.popen by zak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-20890@lists.php.net to get a copy of this message
i got a problem with popen(). i use this code: $command = "/bin/ls"; $fp = popen($command, "r"); $response = fgets($fp, 4096); pclose($fp); why $response is always empty? i use actual versions of php, suse linux and apache. it all runs on a quietly standard configuration. is there any concern about security? execute rights? any help appreciated. tia

« previous php.notes (#20890) next »