, 27 10月 2011 作者 hliang PHP PHP实用函数一例:http_build_query()将数组组合成http请求字符串: 'test','method'=>'index'); $query_string = http_build_query($params_array); echo $query_string; // 输出:action=test&method=index ?>