What I'm actually trying to do is getting content of an URL from another site there I want get the content by client ip address NOT server. Is there any way to do this?
Here I tried some how but, not succeed :/
<?php
$homepage = $_SERVER['REMOTE_ADDR']file_get_contents('http://www.example.com/');
echo $homepage;
?>
I'll accept if there is a way in javascript also.