On Tue,  7 Aug 2001 17:55, Jon Yaggie wrote:
> how can i find out what kind of error i am recieving when i call a
> command thru system()?

Well, reading the docs it looks like system only returns an error code - 
if you want to get all that is returned from the command you might want 
to try exec or passthru. Be mindful of the security of what you pass to 
these functions; and also check the status of safe mode as that has some 
effect on such calls.

-- 
David Robley      Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES      Flinders University, SOUTH AUSTRALIA  

   Which way to Castle Anthrax?

-- 
PHP General 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