Hi,
Anyone know a simple solution to this?
I have a script called go.php with the following code:
<?
if(isset($_GET['to'])) {
$u = $_GET['to'];
header("Location: $u");
}
?>
The page is used to redirect external links. For example a link going to http://www.yahoo.com would look like this: go.php?to=http://www.yahoo.com.
The problem is than when an external links contains variables... for example yahoo.com?this=ok&that=notok&me=fail
it would only redirect to http://www.yahoo.com?this=ok - leaving '&that=notok&me=fail' off!!
any ideas?
thanks