i created one directory using mkdir.now i want to create another directory inside previous directory.
$uploaddir1 = "resumes/".$_SESSION["uss1"]."/".$uname;
echo $uploaddir1;
if(is_dir($uploaddir1))
{
echo "Exists!";
}
else
{
echo "Doesn't exist" ;
mkdir($uploaddir1,0777);
print "created";
}
output is Doesn't existcreated.but when i open $_SESSION["uss1"] directory the new directory was not exist.