当前位置:首页 > 搜索和 部份内容 相关的文章

获取url中部份内容代码

添加日期:2014-08-17 20:30:38 发布:smiling 
functiongetpath($url){$path=parse_url($url,php_url_path);$lastslash=strrpos($path," ");returnsubstr($path,1,$lastslash-1);}echoget ...