复制代码 代码如下:
ob_start();
readfile("http://www.vevb.com/logo.gif");
$img = ob_get_contents();
ob_end_clean();
复制代码 代码如下:
<?php
$url = "http://s.vevb.com";
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT,10);
$dxycontent = curl_exec($ch);
echo $dxycontent;
?>
新闻热点
疑难解答