RE: [PHP] Get domain name

From: Date: Thu, 23 May 2002 15:04:54 +0000
Subject: RE: [PHP] Get domain name
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-98928@lists.php.net to get a copy of this message
Hi David, $HTTP_HOST is the variable you are looking for. Best Regards, Patrick Lynch. Optip Ltd, Internet & Mobile Development Co. Clare, Ireland. http://www.optip.com/ -----Original Message----- From: David Orn Johannsson [mailto:david@atom.is] Sent: 23 May 2002 15:00 To: php-general@lists.php.net 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

« previous php.general (#98928) next »