denise006:
Indeed Frank, 65536 it is!
I have a list of the postcodes I need to allow which I can send over to you if it helps, but basically all UK postcodes start with two letters re;evant to their location i.e SS (Southend-On-Sea) followed by either 1 number (if you live close to the center of that place) or up to two numbers i.e. SS1 or SS99 if you live further away from the center. These are then followed by a space and then 1 further number and then a further two letters. In short a postcode will either have a LETTERLETTERNUMBER NUMBERLETTERLETTER or LETTERLETTERNUMBERNUMBER NUMBERLETTERLETTER format depending on location. Hope that helps but if you could modify to use just the first portion of UK postcodes that would be enough to control location and then take away the character issue within a database.
Make sense??!!
In short, the first portion always is LLN or LLNN - correct?
Then there is a space followed by another 3 or 4 letters/numbers (the second part).
Is it likely that any of the combinations of the first part can also be found in the second part?
Example: if there is something like SS5 NW3 then could there be something like EE89 SS5?
I should do some googling to learn about this .....
Yep, the list would be handy - you can use the contact form in the first or second link in my signature to send them to me.
Cheers / Frank
NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.