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
Return to the default flat view Create a new topic Submit Reply
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:
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.
[Message index]
 
Read Message icon3.gif
Read Message
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: Fri Nov 22 19:08:14 GMT 2024

Total time taken to generate the page: 0.04217 seconds