http_build_query空格问题
<?php <br />$data = array('foo'=>'bar', <br /> 'baz'=>'boom', <br /> 'cow'=>'milk', <br /> 'php'=>'hypertext processor'); <br />echo http_build_query($data); <br />/* 默认输出: <br /> foo=bar&baz=boom&cow=milk&php=hypertext+processor <br />我想输出的格式<br /> foo=bar&baz=boom&cow=milk&php=hypertext%20processor <br />*/ <br />?>