Hi
I have searched and seen a few questions about this but no real solution.
Here is the code I use:
umask(0);
$full_path = '/home/demo/html/'.$name;
if (!file_exists($full_path)){
mkdir ($full_path, 0777);
}
and I get:
Warning: MkDir failed (Permission denied) in /home/demo/html/static/newdir.html on line 259
How can I fix this?...I am on a dedicated server.
Is it a case that I have to change the permissions on newdir.html?
All help much appreciated.
Thanks and regards
Darren