[FX.php List] Retrieving domain name
Tom Sepper
tsepper at dctandt.com
Mon Apr 10 12:16:14 MDT 2006
$_SERVER['HTTP_REFERER']
http://us3.php.net/reserved.variables
Just be advised this isn't always set as it's possible to block the
sending of referer values.
Hope this helps!
Tom
-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Patin
Sent: Monday, April 10, 2006 1:12 PM
To: FX.php Discussion List
Subject: [FX.php List] Retrieving domain name
I have a client whose site uses 3 different domain names; we need to
track which domain name the visitor has used to get to my PHP page.
Is there a way to parse out the domain name that someone used to get
to a PHP page? I could do it with HTML redirect pages, but I'd rather
do this more simply if possible.
Any ideas, FX gurus? :)
Thanks,
Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com
CONTACT US VIA SKYPE:
USERNAME: longtermsolutions
CONTACT US VIA INSTANT MESSAGING:
AIM or iChat: longterm1954
Yahoo: longterm_solutions
MSN: bob at patin.com
ICQ: 159333060
_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list