public function photo(){
$image = new \Think\Image();
$image->open('http://seaphp-uploads.stor.sinaapp.com/Public/Uploads/003.jpg');
$width = $image->width(); // 返回图片的宽度
$size = $image->size(); // 返回图片的尺寸数组 0 图片宽度 1 图片高度
print_r($size);在sea上 放绝对地址怎么会不行’返回 “不存在的图像文件”错误http://seaphp-uploads.stor.sinaapp.com/Public/Uploads/003.jpg
在浏览器可以直接访问
改如何取服务器的地址z
最佳答案