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

Home » General » PHP discussions » Creating Simple Redirect links
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
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 18:32 Go to next message
beth is currently offline  beth   United States
Messages: 1
Registered: September 2006
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 11:46 Go to previous message
streety is currently offline  streety   United Kingdom
Messages: 5
Registered: October 2006
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Tue Dec 12 20:40:48 EST 2017

Total time taken to generate the page: 0.00588 seconds