I am writing a simple redirect script that will do the following job.
eg.
http://www.mysite.com/redirect.php?link={any url} will simply go to any url address follow by the ?link=
<?PHP
if ($link == "$link") {$url = "$link";}
header("Location: $url");
exit();
?>
I have test w/ some simply address, like
http://www.google.com
http://www.yahoo.com
etc, the program works; however, for a more complicate web address, eg,
http://www.bestbuy.com/site/olspage.jsp?id=pcat17005&type=page&_requestid=16101
it won't work anymore,
&skuId=6853988&type=product
is being cut off after redirection. Why I have a problem like this? How can i fix it? thanks