Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: Any way to trace the HTTP request at the domain level?


Message #1 by "Dan Ostrowski" <dan@t...> on Sat, 13 Jul 2002 22:42:33
The environment variable $HTTP_HOST will do the job for this, I think.

good luck,
tqii

>Just wondered if there was anyway to check where a person tried to access
>via domain name.
>
>The reason is thus: I am going to set up 3 mirror www addresses for a
>customer, but they will all point to the same webspace.  I want to be able
>to tell, if possible, WHICH address the person tried to access.  I have
>combed over the PHP documentation, but didn't really see anything that
>looked like it would do the job.
>
>any help is, as always, appreciated,
>
>regards,
>dan


-- 

--------------------------------------------------------------------------------

We protect data, the 21st century asset.

TQ White II
Chief Operating Officer
Backup Bank, LLC

312/566-0600

tq@B...
http://beSafe.BackupBank.com

--------------------------------------------------------------------------------

  Return to Index