RE: [PHP-INST] cannot read output with fgets() from popen()

2001-11-20 Thread Jonathan Hilgeman
11:03 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP-INST] cannot read output with fgets() from popen() Try: Instead. [EMAIL PROTECTED] wrote: > i try to: > > $fp = popen("/bin/ls"),"r"); > $retvalue = fgets($fp, 4096); > pclose($fp); > pri

Re: [PHP-INST] cannot read output with fgets() from popen()

2001-11-20 Thread Jim Barcelona
Try: Instead. [EMAIL PROTECTED] wrote: > 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

[PHP-INST] cannot read output with fgets() from popen()

2001-11-16 Thread simeon
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