Re: Questions about $_SERVER

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Aug 29, 2010, at 10:55 AM, tedd wrote:

At 10:56 AM +0200 8/29/10, Peter Lind wrote:
On 29 August 2010 08:08, Jim Lucas <lists@xxxxxxxxx> wrote:

*snip*

Their is not existing variable (if you would) that your server, when
connecting to a remote server, would be sending. So, to have the remote end be able to identify the initiating host identity, the initiating side would have to add some something to the headers or pass it along in the body of
the request itself.


+1. Let the requestion script send through identification/ authentification.

Regards
Peter

To all:

My post about SERVER globals was simply an observation that the SERVER global report of host and remote was not symmetric -- for example you could obtain both the IP and Domain Name of the host, but only the IP of the remote. Sorry for any confusion I may have caused in my post.

As to the reason why I was asking, please review my next post, namely "Secure Communication?"

Cheers,

tedd


Hey tedd,

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.

Now hopefully my understanding of shared hosting isn't flawed but if it is I'm sure someone will nicely point out why :)



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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux