PHP获取网页内容的几种方法
方法1: 用file_get_contents 以get方式获取内容
<?php
$url='http://www.domain.com/?para=123';
$html = file_get_contents($url);
echo $html;
?>
<?php
$url='http://www.domain.com/?para=123';
$html = file_get_contents($url);
echo $html;
?>
最后更新于 2015年8月31日 …
近期评论