i try to:

$fp = popen("/bin/ls"),"r");
$retvalue = fgets($fp, 4096);
pclose($fp);
print $retvalue;

why $retvalue is always "" (blank)? config is: apache, php, suse... all 
newer versions... and standard configurations... apache runs on a specified 
user. does apache needs root rights or suid on shell? target command?

pleas help, tia.
simeon.

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to