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





©2011 Webune Forums - Sun Dec 18, 2011 5:19 pm
Powered by: Webune Forums V3