您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

php获得当前的脚本网址_PHP教程

2024/6/12 5:56:39发布35次查看
//获得当前的脚本网址
function getcururl(){
    if(!empty($_server[request_uri])){
        $scriptname = $_server[request_uri];
        $nowurl = $scriptname;
    }else{
        $scriptname = $_server[php_self];
        if(empty($_server[query_string])) $nowurl = $scriptname;
        else $nowurl = $scriptname.?.$_server[query_string];
    }
    return $nowurl;
}
http://www.bkjia.com/phpjc/318566.htmlwww.bkjia.comtruehttp://www.bkjia.com/phpjc/318566.htmltecharticle//获得当前的脚本网址 functiongetcururl(){ if(!empty($_server[request_uri])){ $scriptname=$_server[request_uri]; $nowurl=$scriptname; }else{ $scriptname=$_server[php_se...
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product