上传图片问题呀.
Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 0 is not allowed to access /home/www/job333/images/photo owned by uid 2002 in /home/www/job333/include/input.php on line 138
我用COPY( )也一样呀!
程序如下:
$timenow=time();
$filename="/images/photo/".$timenow.$filesort;
$file_name="..".$filename;
if($row_check_photo[photo]!=null)
$file_name="..".$row_check_photo[photo];
//copy($HTTP_POST_FILES['photo']['tmp_name'],$file_name);
move_uploaded_file($HTTP_POST_FILES['photo']['tmp_name'],$file_name);
$pic=$filename;
if($row_check_photo[photo]!=null)
$pic=$row_check_photo[photo];