speedyrudolf
Programmer
Hi. I have the following code:
Well...that is just part of the code...Anyway...After I use the form, I get the following error:
PS: line 9 is the last line of code I copied, and I'm using post to submit the form.
Code:
$timp=time();
$file_dir="./upload".$timp;
mkdir($file_dir, 0777);
foreach($_FILES as $fisier=>$fisiere)
{if(is_uploaded_file($fisiere['tmp_name']))
{move_uploaded_file($fisiere['tmp_name'], "$file_dir/$fisiere[name]");}}
Does anyone know what the problem is? Thanks you.Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid/gid is 189252/189236 is not allowed to access /home/ owned by uid/gid 81/81 in /home/ on line 9
PS: line 9 is the last line of code I copied, and I'm using post to submit the form.