Re: Receive a domain name constant

From: Date: Thu, 23 Aug 2007 20:33:05 +0000
Subject: Re: Receive a domain name constant
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-36277@lists.php.net to get a copy of this message
On 8/23/07, MS Development <ms.devlop@gmail.com> wrote: > I need a way to get the domain on PHP for license script. I know about the > "HTTP_HOST" variable at "$_SERVER" array or at the "getenv" > function but I > can't use them because they are changeable. I looking for some constant > value or for some script that will give me the domain. This is SAPI dependent feature. This however is not a support forum, please have a look at http://php.net/support for help. -Hannes

« previous php.mirrors (#36277) next »