/**
* PHP使用 http_build_query() 构建查询参数
*
* @param
* @arrange 512-笔记网: jb51.cc
**/
<?PHP
$vars = array('page' => 4,'search' => 'this & that');
$qs = http_build_query($vars);
$url = 'http://jb51.cc.com/search.PHP?' . $qs;
$page = file_get_contents($url);
/*** 来自编程之家 jb51.cc(jb51.cc) ***/
原文链接:https://www.f2er.com/php/528257.html