Re: exec("mkdir 123");

From: Date: Tue, 03 Oct 2000 09:53:05 +0000
Subject: Re: exec("mkdir 123");
Groups: php.general 
Request: Send a blank email to php-general+get-18396@lists.php.net to get a copy of this message
>> >><? >>exec("mkdir 123"); >>?> >> >>anyone can help? > >Most well set up Web server document trees won't have the directories >writable by the user id that the Web server runs in. Most likely, you're >just running up against normal security precautions. If you have control >of the document tree and you really want to allow scripts to create >directories in it, you'll need to change the permissions on the parent >directory so that it's writable by the Web server uid. > >-- Why use exec("mkdir 123"); when mkdir() is build in as a command in php ? You would still have the same security issues though. - Frank

« previous php.general (#18396) next »