Re: system()

From: Date: Tue, 07 Aug 2001 08:36:25 +0000
Subject: Re: system()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-61563@lists.php.net to get a copy of this message
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?

« previous php.general (#61563) next »