looking for a redirect script that will cloak and track my long affiliate urls. i have a couple clicktrackers that will give me domain.com/clicks.php&id=21 type links, but i'm looking around trying to find something that'll give me a nice domain.com/shorturl/ or domain.com/shorturl.html/php whatever. anyone got something along these lines?
looking for a redirect script for longurls...
Collapse
X
-
Tags: None
-
never thought of that. that would work perfectly fine.
if i can't come up with a script that handles it all as one, i'll just get on with it that way.
thanks.Comment
-
<?php
$url['name'] = "http://site.com";
$url['anothername'] = "http://anothersite.com";
header("location: ".$url[$_GET['goto']]);
?>
quick and dirty, will make page.php?goto=name goto http://site.com
can use htaccess to make it yoursite.com/goto/name.html if you want too.Comment


Comment