how could i make the URL:
http://www.portal.com?redirect=http://www.anotherdomain.com
change into
http://www.portal.com?http://www.anotherdomain.com
-or similarly
http://www.portal.com/link.php?redirect=http://www.anotherdomain.com
to
http://www.portal.com/link.php?http://www.anotherdomain.com
In other words, is there a way to set a default variable or something like that...just wondering, thanks
hi
did you try the CGI environment variable $QUERY_STRING? it takes the complete query string following the '?'.
good luck ari
yeah this little script pretty much does it:
<?php
$url = $QUERY_STRING;
header("Location: $url");
?>