Well, yah got to love that error 😃
Okay my situation. I have safe_mode on and safe_mode_gid on. They can not be changed. My script uploads and image, creates a directory to place that image in based on an id. Here is part of the script:
$id = $_POST['id'];
//check if directory exists if not create it
$dir = "../photos/$id/";
$check = is_dir($dir);
if($check == FALSE)
{
$old_umask = umask(0);
mkdir("$dir", 0777) or die('could not create directory');
umask($old_umask);
}
Now I don't get this UID, GID stuff... been shuffling through the manual for hours and telling my friend on MSN of my troubles but I haven't come up with much. I am sure it is just "one of those things" :bemused:
Is this a can do or a can't do situation? has safe mode gotten the better of me? What about FTP functions?
I don't really understand why I get the "Warning: move_uploaded_file(): SAFE MODE Restriction in effect." error so even if I knew why... that'd be a great help. Please someone help me makes sense of this error 🙁
Remmington Steel is on now so, I'll be back... with a coffee! 😃