I have a script that registers users and i want to implement in it this function to make for each user a folder with the name they supply so i used
$user_folder = mkdir($_SERVER['HTTP_HOST'].'/user/'.$name, 0755);
$name is the name they supplyed in the form
so i get this "Warning: mkdir() [function.mkdir]: No such file or directory in /home/public_html/registration/index.php on line 139"
Why?