Re: rexec

From: Date: Thu, 02 Nov 2000 23:05:40 +0000
Subject: Re: rexec
Groups: php.general 
Request: Send a blank email to php-general+get-23479@lists.php.net to get a copy of this message
in windows (ms-dos), dir is not an executable command outside of the command prompt. To run it try: exec("c:\\command.com /C dir c:\\"); FYI: /C command Executes the specified command and returns. Gerald -----Original Message----- From: Richard <rataman@sbgh.mb.ca> To: php-general@lists.php.net <php-general@lists.php.net> Date: Thursday, 2 November 2000 11:26 pm Subject: [PHP] rexec >I'm trying to exec something (exec("dir C:\\", $, $);) > >but recieve a WARNING: Unable to fork [dir C:\] on line whatever. >help?

« previous php.general (#23479) next »