Can't create new folder with mkdir()
Posted: Wed Sep 14, 2005 9:23 pm
<?php
if (mkdir("/var/www/html/catalogs/mynewfolder",0777)){
echo "created ok";
}else{
echo "can't created";
}
?>
The result is always "can't create", I also set permission of "catalogs" to 777
Please tell me what should I do to solve that problem?
For more info: I installed Fedora 3: Apache 2., PHP 4.3.9, Mysql 3.23.58
Thanks very much,
Nguyen Buu
if (mkdir("/var/www/html/catalogs/mynewfolder",0777)){
echo "created ok";
}else{
echo "can't created";
}
?>
The result is always "can't create", I also set permission of "catalogs" to 777
Please tell me what should I do to solve that problem?
For more info: I installed Fedora 3: Apache 2., PHP 4.3.9, Mysql 3.23.58
Thanks very much,
Nguyen Buu