Re: latest version of PHP won't let you....

From: Date: Wed, 25 Jul 2001 15:11:37 +0000
Subject: Re: latest version of PHP won't let you....
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-8497@lists.php.net to get a copy of this message
"Del" is a DOS command. Try: exec ("cmd.exe /c del $file"); for NT and W2K or exec("command.com /c del $file"); for Windows 9X and ME Glenn "G Schneider" <jefferrs@blueyonder.co.uk> wrote in message news:20010725142102.92704.qmail@pb1.pair.com... > After installing the latest version of PHP for windows, > I have found that it won't let you use the exec() function. > > e.g. if you want to delete a file on a windows server, you would use > exec("del $file"); rather than unlink("$file") which is for UNIX based > servers. > > Or am I wrong and there is just a setting that needs to be enabled in > php.ini file? > > This is quite an important thing, really. > > ? > > > ++++++++++++++++++++++++++++++++++++++++ > http://www.webmastersdog.com > where website owners go. and talk about stuff. > ++++++++++++++++++++++++++++++++++++++++ > >

« previous php.windows (#8497) next »