Receive a domain name constant

From: Date: Thu, 23 Aug 2007 16:09:11 +0000
Subject: Receive a domain name constant
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-36275@lists.php.net to get a copy of this message
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. Notice that the script must to be very fast because it will call every page refresh. TNX, Moshe

« previous php.mirrors (#36275) next »