Page 1 of 1

zip code redirect to page...HELP!

Posted: Fri Dec 05, 2008 5:10 pm
by lomster
Hey PHP Geniuses...
I've got a small problem. I have 8 people who are advisors for 2200 zip codes split between them.

Essentially, I need a simple php script that when a zip code is entered, it forwards the user to the page of their advisors.

IMPORTANT: BECAUSE OF A CMS LIMITATION, I DO NOT HAVE SQL FUNCTIONALITY.

Thanks for all your help!

Re: zip code redirect to page...HELP!

Posted: Fri Dec 05, 2008 5:19 pm
by requinix
Your CMS sucks.

Store the page-zip code pairs somewhere, then given the zip code look up the page to redirect to.

What else can I say? You haven't described your system.

Re: zip code redirect to page...HELP!

Posted: Fri Dec 05, 2008 5:21 pm
by lomster
That's exactly what I want to do, but I haven't found a script written like that...can you suggest one?

Re: zip code redirect to page...HELP!

Posted: Fri Dec 05, 2008 6:06 pm
by Syntac
In this case, it's probably best to roll your own.