hi
i'm trying to make a very simple jump script for a particular reason and it works to a point but seems to give me an error.
i've got a redirect script link.php which contains the following:
Code:
<?php
$url = ($_GET['lnk']);
header("Location: $url");
exit;
?>
and i'm linking to a url like this:
Code:
http://www.somesite.com/?some-query-string!&id=27
and so i'm linking to my script like this:
Code:
http://mydomain.com/link.php?lnk=http://www.somesite.com/?some-query-string!&id=27
but it seems to be cutting off the string from the ampersand and sending it to:
Code:
http://www.somesite.com/?some-query-string!
and not to:
Code:
http://www.somesite.com/?some-query-string!&id=27
i know it's something stupid i'm doing wrong anyone got any ideas, it would be really appreciated
thanks in advance