/**
* 查看网页源代码
*
* @param
* @arrange 512-笔记网: jb51.cc
**/
<?PHP
$url = "http://www.*.com";
$fp = @fopen($url,'r')
or die("Cannot Open $url via Get method");
while ($line = @fgets($fp,1024)) {
$contents .= $line;
}
fclose($fp);
/*** 来自编程之家 jb51.cc(jb51.cc) ***/
原文链接:https://www.f2er.com/php/528338.html