复制代码 代码如下:
<?php
$title='';
$hello='jb51.net!';
$file=file_get_contents('http://patible; MSIE 6.0; Windows NT 5.1; SV1)");
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$contents = curl_exec($ch);
curl_close($ch);
return $contents;
}
$url="https://www.jb51.net";
$contents.=_url($url);
echo $contents; //输出内容
?>
