Home > Backend Development > PHP Tutorial > PHP jump function and getting the URL address of the current page_PHP tutorial

PHP jump function and getting the URL address of the current page_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-13 17:09:38
Original
1095 people have browsed it

php tutorial jump function and getting the url address of the current page
Function url_this(){
$url = "http://".$_server ["http_host"].$_server["request_uri"];
          $return_url = "$url";
         return $return_url;
}

//Jump function
function url_redirect($url,$delay=''){
if($delay == ''){
echo "<script>window.location.href='$url'</script>";
}else{
echo "";
}

}

} //end func

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/629735.htmlTechArticlephp tutorial jump function and getting the url address of the current page function url_this(){ $url = http:// .$_server [http_host].$_server[request_uri]; $return_url = a href='$url'$url/a; return $...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template