似乎簡單echo $image
不爲這一個做的伎倆:回聲圖像的文件名
<?php
include_once 'class.get.image.php';
// initialize the class
$image = new GetImage;
// just an image URL
$image->source = $_POST["url"];
$image->save_to = 'images/'; // with trailing slash at the end
$get = $image->download('curl'); // using GD
if($get)
{
echo 'The image has been saved.';
echo $image;
}
?>
這裏的class.get.image.php你知道我插入echo $image;
希望它會顯示至少的文件名圖像但它沒有。
你救了我!謝謝 – Zhianc