Hi David,

$HTTP_HOST is the variable you are looking for.

Best Regards,
Patrick Lynch.

Optip Ltd, Internet & Mobile Development
Co. Clare, Ireland.

-----Original Message-----
From: David Orn Johannsson [mailto:[EMAIL PROTECTED]] 
Sent: 23 May 2002 15:00
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
the domain would be somthing like www.domain.com
Thanks David

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to