access denied in mkdir function
Posted: Wed Dec 08, 2010 1:11 pm
hi
i am new linux user. i have a code to make directory like this
<?php
$dept="cse";
$user_name="agile"
mkdir("c:/xampp/htdocs/$dept/$user_name/profile", 0777, true);
chmod("c:/xampp/htdocs/$dept/$user_name/profile", 0777);
?>
it is work in windows. bt in linux it is not working. it gives error like access denied to mkdir
pls. help me regarding this
agile
i am new linux user. i have a code to make directory like this
<?php
$dept="cse";
$user_name="agile"
mkdir("c:/xampp/htdocs/$dept/$user_name/profile", 0777, true);
chmod("c:/xampp/htdocs/$dept/$user_name/profile", 0777);
?>
it is work in windows. bt in linux it is not working. it gives error like access denied to mkdir
pls. help me regarding this
agile