技术相关 · 2014年9月7日

PHP读取动态页面生成HTML

$content = file_get_contents("http://192.168.0.9/index.php");
$filename = "html/1.html";
$fp = fopen($filename,'w');
fwrite($fp,$content);