Hi I would like to know how I can go about creating a php redirect page for multiple links.
For instance I have 3 different links and when a user clicks on link1 he gets redirected to 1.com if he clicks on link2 he gets redirected to 2.com and if he clicks link3 he gets redirected to 3.com.
I want these within the one redirect file, redirect.php. I've seen people do it so their links look like:
www.site.com/redirect.php?fid=1&cid=1
www.site.com/redirect.php?fid=2&cid=1
I'm very new to php and have had trouble finding how to do this, any help would be much appreciated.
For instance I have 3 different links and when a user clicks on link1 he gets redirected to 1.com if he clicks on link2 he gets redirected to 2.com and if he clicks link3 he gets redirected to 3.com.
I want these within the one redirect file, redirect.php. I've seen people do it so their links look like:
www.site.com/redirect.php?fid=1&cid=1
www.site.com/redirect.php?fid=2&cid=1
I'm very new to php and have had trouble finding how to do this, any help would be much appreciated.