function get_url(){
$server = empty( $_SERVER["HTTPS"] ) ? '' : ( $_SERVER["HTTPS"] == "on" ) ? "s" : "";
strpos( strtolower( $_SERVER["
$root .= "://";
if ($_SERVER["SERVER_PORT"] != "80") {
$root.= $_SERVER["SERVER_NAME"]. " : " .$_
} else {
$root.= $_SERVER["SERVER_NAME"] . $_
}
return $root;
}
2 comments
Your blog is very informative, I have learned so much from it..Keep on updating your blog
your blog helped me with ocean of knowledge..Good job
Post a Comment
Please put your comments here. your questions, your suggestions, also what went wrong with me.