Hello, i have a problem while i trying to upload a file by programing. May be someone can help me:
CODE
$codigo=$row["Ref"];
$path="TKE/$codigo";
mkdir($path,0777);
if (copy($archivo, "prueba/$codigo/$nombre_archivo")){
}
MESSAGE
Warning: "copy() [function.copy]: SAFE MODE Restriction in effect. The script whose uid is 776 is not allowed to access /home/...."
Warning "copy(prueba/1/prueba.gif) [function.copy]: failed to open stream:....."
NOTE: In my localhost it work, may be a permision problem?
NOTE 2: Sorry for my english, i hope you understand me.
Thanks
CODE
$codigo=$row["Ref"];
$path="TKE/$codigo";
mkdir($path,0777);
if (copy($archivo, "prueba/$codigo/$nombre_archivo")){
}
MESSAGE
Warning: "copy() [function.copy]: SAFE MODE Restriction in effect. The script whose uid is 776 is not allowed to access /home/...."
Warning "copy(prueba/1/prueba.gif) [function.copy]: failed to open stream:....."
NOTE: In my localhost it work, may be a permision problem?
NOTE 2: Sorry for my english, i hope you understand me.
Thanks