/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function follow_redirects($url,$timeout=5) { curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1) Gecko/20061024 BonEcho/2.0"); { return $info['url']; } return $url; }