Re: [PHP] Problem with the passthru function

2006-06-15 Thread Richard Lynch
On Wed, June 14, 2006 4:51 am, Venkatesh Babu wrote: > I have a small php file (test.php) whose code is shown > below: > > $retval=1; > $command='/bin/ls'; > passthru($command, $retval); > print("Exit status: " . $retval); > ?> > > This test.php works fine when I execute from comma

Re: [PHP] Problem with the passthru function

2006-06-14 Thread Venkatesh Babu
Hi, Thanks for your response safe_mode is Off but still I'm getting this problem. Thank you, Venkatesh --- Rabin Vincent <[EMAIL PROTECTED]> wrote: > On 6/14/06, Venkatesh Babu <[EMAIL PROTECTED]> > wrote: > > I have a small php file (test.php) whose code is > shown > > below: > > > > >

Re: [PHP] Problem with the passthru function

2006-06-14 Thread Rabin Vincent
On 6/14/06, Venkatesh Babu <[EMAIL PROTECTED]> wrote: I have a small php file (test.php) whose code is shown below: This test.php works fine when I execute from command prompt as "php test.php", but when I access it through web browser, it seems not to be working fine, I get an exit status of