I have a redirect code this one:
[code=php]<?php
header(“Refresh: 5; url={$_GET[‘url’]}”);
echo ‘You are redirecting to … page’;
?>
And it works like when i add any external url at the end of [B][url]http://my-domain.com/URL.php?url=
http//my-domain.com/URL.php?url=http//www.google.com
and it just redirects directly on the page after 5 seconds and i want to change the url format like this
http//my-domain.com/URL.php?http//www.google.com
or this
http//my-domain.com/?http//www.google.com
i know for this^ i need to make changes in index.php but don’t know how to reformat the url ?