Guys,
When I sign up for a hosting server, I was given 6 IP. One shared IP and a bunch of other IP. Usually, the other IP are series of numbers after the shared IP. If the shared IP is 55.55.55.51, then the other IPs are 55.55.55.52, 55.55.55.53, etc.
curiously I wrote this into test.php
<?
echo file_get_contents("http://www.ipchicken.com/");
?>
Sure enough, the IP that shows up is the IP of my website.
The thing is the IP that hows up is always the shared IP.
For example, if one of the other IP is
55.55.55.52
and I type 55.55.55.52/test.php in webbrowser, IP chicken will still say that my IP is 55.55.55.51
So, what are the other IPs are for?
Is there a way where we can do something similar with file_get_contents but arrange that php makes outbound connections using one of our other IPs?
Until today, I still do not understand what the other IPs are for?