Re: Running system commands
| From: | Chris Hewitt | Date: | Wed, 26 Feb 2003 14:22:28 +0000 |
| Subject: | Re: Running system commands | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137240@lists.php.net to get a copy of this message | ||
ed@home.homes2see.com wrote:
I was thinking the exact same thing but I can actually delete files from these directories using a system command through php. Would that be a different type of permission? Ed On Tue, 25 Feb 2003, Chris Hewitt wrote:Regards Chrised@home.homes2see.com wrote:Before I ask, I have read the documentation but nothing seems to work. I want to run a system command from behind the scenes (totally secure area of my server) that creates a directory and changes permissions on it. i.e. system ("mkdir $path"); Example above uses a value from a form passed to the script and is assigned from $_POST['path']; When I run it no directory is created. Ideas??Does the user that the webserver is running as have permissions to make that directory? HTH Chris No, it would be the same permissions.