Is it possible to fake a domain name using curl and PHP??
Let me explain what I'm after, and what I don't understand yet.
All domain names resolve to an IP lets say fred.com resolves. 126.96.36.199 for the sake of simplicity. Now when the request for a file get to the server at 188.8.131.52 How does it know it from fred.com and more importantly if the server is given a domain name of convenience, is it possible using curl in PHP to trick the server into giving you files for fred.com, when infact you've gone straight to the IP because the domain isn't in any external DNS servers?