php 跳转函数,与获取当前页面的URL地址
function url_this(){ $url = "http://" . $_server [ "http_host" ]. $_server [ "request_uri" ]; $return_url = "<a href='$url'>$url</a>" ; return $return_url ; } //跳转函数 function url_redirect( $url , $delay = '' ){ if ( $delay == '' ){ echo "<script>window.location.href='$url'</script>" ; } else { //开源代码phpfensi.com echo "<meta http-equiv='refresh' content='$delay;url=$url' />" ; } } } //end func查看更多关于php 跳转函数,与获取当前页面的URL地址 - php函数的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did30788