使用下列 原碼
<?php
//header ("Content-Type: image/jpeg");
// $Url_Proxy = 'proxy.hinet.net:80';
$Url_Proxy = '';
// create a new cURL resource
$ch = curl_init();
$i = $_GET['i'];
if (($i==NULL) || ($i<2555) || ($i>2929))
$i = rand(2555,2929);
$u = "http://blog-imgs-21.fc2.com/f/e/t/fetinavi3/pai-$i.jpg";
// set URL and other appropriate options
curl_setopt($ch, CURLOPT_URL, $u );
curl_setopt($ch, CURLOPT_HEADER, 0);
//curl_setopt($ch, CURLOPT_PROXY,$Url_Proxy) ;
// grab URL and pass it to the browser
curl_exec($ch);
// close cURL resource, and free up system resources
curl_close($ch);
?>
看得懂得看
沒有留言:
張貼留言