Hi,
I have this vision:
Someone clicks on a link that goes to my website. When they get my website, my website picks up the url that they just came from. With my code I have gotten that far. But what I want is for the page's url that they just came from to be in my page's url. Got it?
Ok, so example. They come from this page:
and when they get to my page, my page's url looks like this:
http://mypage.com/index.php?url=http://example.com/
So here is my code:
<?php
$url = $_SERVER['HTTP_REFERER'];
$_GET["$url"];
?>
But it is not working. So how would I accomplish this?
Thanks