How To Make Money Online
SiteMap | Link Exchange | Home | About Us | Contact Us
Quick Member Login:
Forgot password?


Forum Statistics:
Forum Members: 11,604
Total Threads: 11,419
Total Posts: 11,859


There are 18 users
browsing at forum
Friends:


Free Stuff
Game Cheats
Poker Bot
Xbox Emulator
hostgator review



You don't appear to be registered. Click here to register
Search the forums:

How To Make Money Online » downloads area » script & code » php jump script that helps mask a url

Notices

Reply
 
Thread Tools Display Modes
Old 12-26-2009, 03:56 PM   #1
bange
Administrator
 
Join Date: Nov 2009
Posts: 302
Thanks: 4
Thanked 66 Times in 49 Posts
bange has much to be proud of bange has much to be proud of bange has much to be proud of bange has much to be proud of bange has much to be proud of bange has much to be proud of bange has much to be proud of bange has much to be proud of
Default php jump script that helps mask a url

For those so inclined - this is an example of a php jump script that helps mask a url. You would use this to prevent someone from mousing over a link (text or image via href) and typing the website address into the location bar bypassing your affiliate link.

First make a demo webpage called "demo.html" under the root of your domain and embed the following code (change the domain name to YOUR domain):
Code:


[Only registered and activated users can see links. ]


[Only registered and activated users can see links. ]


[Only registered and activated users can see links. ]
原帖地址: How To Make Money Online [Only registered and activated users can see links. ]



NEXT make a php file called "go.php" also under the root of your domain:

Place this code inside go.php:
Code:
switch ($_GET['m']) {
case "water":
$link = "http://www.ozarkawater.com";
break;
case "air":
$link = "http://en.wikipedia.org/wiki/Oxygen";
break;
case "tool":
$link = "https://adwords.google.com/select/KeywordToolExternal";
break;
default:
$link = "http://www.YourDomain.com/"; //**************change to your domain!!
break;
}
header("Location: $link");
exit();
?>
[Only registered and activated users can see links. ]
bange is offline   Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT. The time now is 06:55 PM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. Copyright 2009, Guidegenius.com Enterprises LtdAd Management plugin by RedTyger

Contact Us - How To Make Money Online - Archive - Top - Sitemap