Hi
Basically I have a site and I want to enable visiters to view a page based on thier post code. What I want is a simple form text box and submit button, if the begining of thier postcode matches I would like them redirected to a specific page and if it doesn't match redirected to another.
For example
A user types BD1 in to the text box and clicks submit and is redirected to http://domain.com/hiddenpage.html
A user types BD2 in the text box and clicks submit and is redirected to http://domain.com/notallowed.html
I'm sure this is a basic script but I cannot find an example on the internet so if someone could post an example I would appreciate it.
Thanks.


Reply With Quote

Bookmarks