![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
(felis madjewicus)
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
|
looking for a redirect script for longurls...
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?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Mar 2004
Location: Australia/Asia
Posts: 921
|
One easy way is to take your long click tracking url and put it into a php redirect file. So you end up with domain.com/niche.php
Code:
<?php header("Location: trackingurlhere"); ?>
__________________
Free Traffic |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
(felis madjewicus)
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
MOBILE PORN: IMOBILEPORN
Join Date: Jan 2004
Location: Tinseltown NL
Posts: 16,502
|
<?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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
boots are my religion
Join Date: Nov 2005
Location: Heart of europe
Posts: 21,765
|
i only know tinyurl.com
|
![]() |
![]() ![]() ![]() ![]() ![]() |