Re: [PHP] Re: the EXEC command

2005-06-27 Thread John Nichel
Jason Barnett wrote: mikael wrote: I wanted to use the exec function but when i did a simple test script i got no result. This is the testscript: exec('whoami', $stdout, $stderr); print "Standard Out:\n"; print_r($stdout); print "Standard Error:\n"; print_r($stderr); And there's ht

[PHP] Re: the EXEC command

2005-06-27 Thread Jason Barnett
mikael wrote: I wanted to use the exec function but when i did a simple test script i got no result. This is the testscript: exec('whoami', $stdout, $stderr); print "Standard Out:\n"; print_r($stdout); print "Standard Error:\n"; print_r($stderr); -- NEW? | http://www.catb.org/~esr/faqs/smar