标签:host url echo nbsp blog parse bsp query php
<?php $str = parse_url(‘http://localhost/?id=2&cd=2‘, PHP_URL_QUERY); ECHO $str; parse_str($str, $cc); print_r($cc);
PHP提取url
原文地址:http://www.cnblogs.com/perl6/p/7119276.html