Is there a way to get it, example.
I have a script to echo the http_host, another website uses file_get_contents or something, I want it to display the HTTP_HOST for the site that requests it.
Havent seen a way, REMOTE ADDR is the users ip, that doesnt help either..
Another question:
How can you use sockets to view a file from another website?
For example, if you want to get a RSS feed from a site, but http wrappers arent enabled.
Thanks.