标签:http os ar ui server url tt path
//$url = $_SERVER[‘REQUEST_URI‘].(strpos($_SERVER[‘REQUEST_URI‘],‘?‘)?‘‘:"?").$this->parameter;
$url = $_SERVER[‘REQUEST_URI‘];
//echo $url;exit;
$parse = parse_url($url);
if(isset($parse[‘query‘])) {
parse_str($parse[‘query‘],$params);
unset($params[$p]);
$url = $parse[‘path‘].‘?‘.http_build_query($params);
}
标签:http os ar ui server url tt path
原文地址:http://www.cnblogs.com/zfeng/p/3904807.html