I am getting data for my application from a website, say x.com.
I use the php function file_get_contents() to fetch the data.
It is sure that , my server’s ip address will be shown in x.com ‘s logs.
Is there any way to hide my server’s ip without using proxy?
If I have a proxy ,how to use it with file_get_contents() ?
I need to send the request in both HTTP POST and HTTP GET methods
test.php using http://ifconfig.me/ip
code modified from http://www.php.net/manual/en/function.file-get-contents.php