how to get domain name with php

RegisterLogin
how to get domain name with php
Post Description: how to get domain name with php
Tags: how, to, get, domain, name, with, php
This Post Was Posted On Feb 29, 2008 By web hosting #1332
if you want to know how to get the current domain name from your website in php you can do it with the

echo $_SERVER['HTTP_HOST']


this will display the domain name and the hostname like this:

www.wallpaperama.com





©2012 Webune Forums - Thu Dec 13, 2012 5:25 pm
Powered by: Webune Forums V3