Re: [PHP] server name that the user agent used

2009-09-14 Thread Tom Worster
On 9/14/09 2:11 PM, "Lars Torben Wilson" wrote: > Tom Worster wrote: >> On 9/13/09 10:24 PM, "Tommy Pham" wrote: >> >>> --- On Sun, 9/13/09, Tom Worster wrote: >>> >>>> From: Tom Worster >>>> Subject: [PHP] server

Re: [PHP] server name that the user agent used

2009-09-14 Thread Lars Torben Wilson
Tom Worster wrote: On 9/13/09 10:24 PM, "Tommy Pham" wrote: --- On Sun, 9/13/09, Tom Worster wrote: From: Tom Worster Subject: [PHP] server name that the user agent used To: "PHP General List" Date: Sunday, September 13, 2009, 8:21 PM when using apache with one vhos

Re: [PHP] server name that the user agent used

2009-09-14 Thread Tom Worster
On 9/14/09 9:03 AM, "Tom Worster" wrote: > On 9/13/09 10:24 PM, "Tommy Pham" wrote: > >> --- On Sun, 9/13/09, Tom Worster wrote: >> >>> From: Tom Worster >>> Subject: [PHP] server name that the user agent used >>> To:

Re: [PHP] server name that the user agent used

2009-09-14 Thread Tom Worster
On 9/13/09 10:24 PM, "Tommy Pham" wrote: > --- On Sun, 9/13/09, Tom Worster wrote: > >> From: Tom Worster >> Subject: [PHP] server name that the user agent used >> To: "PHP General List" >> Date: Sunday, September 13, 2009, 8:21 PM >>

Re: [PHP] server name that the user agent used

2009-09-13 Thread Tommy Pham
--- On Sun, 9/13/09, Tom Worster wrote: > From: Tom Worster > Subject: [PHP] server name that the user agent used > To: "PHP General List" > Date: Sunday, September 13, 2009, 8:21 PM > when using apache with one vhost that > responds to a few different

[PHP] server name that the user agent used

2009-09-13 Thread Tom Worster
when using apache with one vhost that responds to a few different hostnames, e.g. domain.org, y.domain.org, x.domain.org, let's say the vhost's server name is y.domain.org and the other two are aliases, is there a way in php to know which of these was used by the user agent to address the server?