Seboko
08-25-2005, 08:03 AM
Hello there.
I am trying to create a directory/folder using the php function - mkdir.
Here is my code:
<?php
error_reporting(E_ALL);
if(mkdir("my_dir", 0775))
echo "CREATED A FOLDER<br/>";
else
echo "COULD NOT CREATE A FOLDER<br/>";
?>
I get the following output:
Warning: mkdir(my_dir): Permission denied in c:\Inetpub\wwwroot\bridge\admin\mak_dir.php on line 17
COULD NOT CREATE A FOLDER
I am running IIS webserver. I tried to change the settings on folder which contains the above code and tried to change the IIS settings without any luck. Where do you think the problem is?
:confused:
I am trying to create a directory/folder using the php function - mkdir.
Here is my code:
<?php
error_reporting(E_ALL);
if(mkdir("my_dir", 0775))
echo "CREATED A FOLDER<br/>";
else
echo "COULD NOT CREATE A FOLDER<br/>";
?>
I get the following output:
Warning: mkdir(my_dir): Permission denied in c:\Inetpub\wwwroot\bridge\admin\mak_dir.php on line 17
COULD NOT CREATE A FOLDER
I am running IIS webserver. I tried to change the settings on folder which contains the above code and tried to change the IIS settings without any luck. Where do you think the problem is?
:confused: