PHP Redirection by HREF Link (.php=siteurl?)?

David B

New member
I'm in the midst of setting up a Joomla CMS & phpBB board for a website aimed at the audience of our Night Club. There are going to be a number of external redirects to sites other than the main site. Rather than redirect a visitor DIRECTLY to said external site, I need a PHP page that states redirection is occuring and disclaims we are not responsible for the contents on the external site, and they have the option to continue or go back. To save having to make a page for EACH link I would like to know if a variable can be used in ONE page where the HREF dictates redirection, so for example, they click the hyperlink which might be linked as www.mysite.com/redirect.php?v="http://www.othersite.com" which in turn takes them to redirect.php, if they click continue, they are brought to the page in the HREF, if they click back, they are taken to the page they came from. I know this is possible as I have seen it before but Google, despite using advanced search strings and terms is not revealing anything useful. Any help is very much appreciated.
Thanks for the input tica, maybe I'm reading your answer wrong, It's probably something I missed in class :-P. I'm assuming that I put the redirect link in the Hyperlink and it will take users to the redirect.php page before sending them onwards, yes?
So for instance a link in a page points to /redirect.php?=http://www.google.com
The above would take a user to my own disclaimer page, then I would onclick for the Continue and back buttons. At least that's what I'm gathering. It's 5 AM hereabouts my area, I'm thinking I've been up way too long working on this :-P.
The only other solution I am gathering is a EULA before entering the site, but honestly, besides myself, who ever reads them? I've only ever read one, and they pretty much all break down to the same thing.
 
Back
Top