Re: Get domain name
| From: | Dennis Moore | Date: | Thu, 23 May 2002 16:45:35 +0000 |
| Subject: | Re: Get domain name | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98939@lists.php.net to get a copy of this message | ||
User the global variable
$SERVER_NAME
----- Original Message -----
From: "David Orn Johannsson" <david@atom.is>
To: <php-general@lists.php.net>
Sent: Thursday, May 23, 2002 10:00 AM
Subject: [PHP] Get domain name
>
> I need to find out what the domain of the site that I'm running a script
> from, I know this is possable, but I cant find the function in the
> manual.
>
> the domain would be somthing like www.domain.com
> <http://www.domain.com/>
>
> Thanks David
>