Is it possible for PHP to get the URL, wait for the redirect, and then enter the URL of the page?
$cr = curl_init("http://example.com"); curl_setopt($cr, CURLOPT_RETURNTRANSFER, true); curl_setopt($cr, CURLOPT_FOLLOWLOCATION, 1); curl_exec($cr); $info = curl_getinfo($cr); echo "url=".$info["url"];
see http://www.php.net/manual/en/wrappers.http.php
-j
You can also use wget / curl wrapper.
http://php.net/manual/en/book.curl.php