I'm using proxy server extension in firefox to change my IP address.
Is there any scripts in php to change the ip-address? I found only domain changing scripts in php but not ip related scripts. Any suggestions please.
Using curl, you can do that... Try below one:
<?php
$proxy = "xx.xx.xx.xx:xx";
$proxy = explode(':', $proxy);
$url = "http://www.google.com";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_PROXY, $proxy[0]);
curl_setopt($ch, CURLOPT_PROXYPORT, $proxy[1]);
curl_setopt($ch, CURLOPT_HEADER, 1);
$exec = curl_exec($ch);
?>