Sorry for the vagueness!
Basically, I've got a page linking to an redirect page.
eg. redirect.php?one=two&three=four&five=six
This is all echoed fine on the page, except when it is clicked it opens a new page with a javascript redirect. This then echoes the address values.
The values are got from the first page like this:
<?php
$one = $GET['one'];
$two= $GET['two'];
?>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
redirTime = "0";
redirURL = "http://<?php echo $one ?>";
function redirTimer() { self.setTimeout("self.location.href = redirURL;",redirTime); }
// End -->
</script>
The site address is built up of various section - ie. domain name, domain ext, click string ( eg. click?=one&two=three ) etc
It's the click string with all the ?'s in it that is only echoed up to the ?. It's all dynamic so I can't escape the question mark directly I don't think?
The string is being displayed fine in the address bar of the redirection page so that leads me to think it might be something to do with the printing in teh redirection script???
Any ideas? thanks for you help