FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » PHP discussions » Creating Simple Redirect links
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
icon3.gif  Creating Simple Redirect links [message #33674] Tue, 12 September 2006 22:32 Go to next message
beth is currently offline  beth   United States
Messages: 1
Registered: September 2006
Karma: 0
Junior Member
Hi,

Does anyone know how to create a simple redirect link manually for affiliate links? Or am i in the wrong forum?




Re: Creating Simple Redirect links [message #34013 is a reply to message #33674] Sun, 01 October 2006 15:46 Go to previous message
streety is currently offline  streety   United Kingdom
Messages: 5
Registered: October 2006
Karma: 0
Junior Member
I'm not entirely sure I know what your aim is. Are you trying to create a system that will allow you to post a link to

www.yoursite.com/cheap-widgets

and have it redirect the visitor to

www.cheap-widgets.com/?referrer-id=your_ref_id

If so you can just insert the following into a file

<?php
header
("Location: www.cheap-widgets.com/?referrer-id=your_ref_id");
?>


Presumably you'll want to have some sort of tracking so you can record how many people have visited the page and been re-directed but that is a seperate issue.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: php shell execution damn slow on windows
Next Topic: ~error,insert query failed....AND undefined index~
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 16:23:22 GMT 2024

Total time taken to generate the page: 0.02464 seconds