Hello Folks!
I need to create a redirect page that will allow someone to enter a reference code in a form, and when they click submit, the reference code will be appended to a specific website address and the page will open.
Example:
the reference code is: ABCD1234
the website address is: http://www.[SITE].com
the appended address is: http://www.[SITE].com/ABCD1234
When they enter the code and click submit, the appended address will open.
Any ideas?
All help will be greatly appreciated.
need to create a redirect.....
Moderator: General Moderators
Re: need to create a redirect.....
You need a PHP page to receive the form. It then validates the code and redirects.
Re: need to create a redirect.....
you can create a form with a textfield and then using post and header('Location:'), you can easily call the desired page.
Re: need to create a redirect.....
One other thing.
The website page link needs to be hidden from view
(not "fishy" reason, I just prefer that it be that way!),
so I'm thinking I need to have the "calculations" done
on a php page that doesn't appear to the user.
The website page link needs to be hidden from view
(not "fishy" reason, I just prefer that it be that way!),
so I'm thinking I need to have the "calculations" done
on a php page that doesn't appear to the user.