基于arm和android的监控系统
upload('picture','save.jpg','a.jpg');
}
else{
echo "拷贝失败";
}
?>
以上我用sae做的一个存储照片的小程序,是在linux平台上操作的,但提交之后打开网址却提示
Warning: copy() [function.copy]: open_basedir restriction in effect. File(/mnt/hgfs/SharedFolder/a.jpg) is not within the allowed path(s): (/usr/local/sae/php/lib/php/sae_std_lib/:/usr/local/sae/php/lib/php/apibus_lib/:./:/usr/share/fonts/chinese/TrueType:/data1/www/htdocs/154/armmonitor/1/:/saetmp/154/armmonitor/1352538821_4042900140/
in index.php on line 12
拷贝失败
请问这个是啥,是因为php的拷贝搞错了吗吗?还是啥其他原因。
|
|