How To Get Domain Name With Php


How To Get Domain Name With Php
  Forums Index
      » PHP Forums
        » » how to get domain name with php



How To Get Domain Name With Php
Post Description:
Post Tags: how, to, get, domain, name, with, php, free php support, php scripts, php questions, php answers, programming, codes, scripts
This Post Has Been Viewed 591 Times Since Tue Mar 04, 2008 8:47 pm Posted By hostman with 0 replies
Next Post »» how to get full url current page in php function class snippet
How To Get Domain Name With Php
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






Leave Your Comments
* Your Name

  * Your Email Address (Will Not Be Published)

* Your Comments


Add Picture To Comments
Yes No             upload
Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

     




Comments and replies About How To Get Domain Name With Php






(0) Comments