Re: Questions about $_SERVER
| From: | Per Jessen | Date: | Sun, 29 Aug 2010 16:04:23 +0000 |
| Subject: | Re: Questions about $_SERVER | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307743@lists.php.net to get a copy of this message | ||
Jason Pruim wrote:
> My understanding of how shared hosting works would make this near
> impossible... Basically Apache grabs a header that is sent at the
> initial connection which includes the destination hostname and from
> there it translates it to the proper directory on the shared host.
>
> All the IP's though are based off of the parent site's server...
>
> Now with dedicated hosting where you have the entire machine you can
> do what you are looking at because the IP address will always
> translate back to your website.
AFAICT, Tedd was not asking about the server, he's asking about the
client.
--
Per Jessen, Zürich (17.2°C)