I. Gray wrote:
I was wandering whether anyone knew how i can use php to retrieve info
from a postal code (probably mainly in the UK) so that when a person
enters the post code it comes up with the address or I can do other
things with the info. Is there a php class that can do this? Would I
need to use a database of postal info? If so are there any (preferably
free) ones?
There is a problem with 'free' and 'UK post codes' ;)
UK Post Codes are supplied by Royal Mail, and they charge for the use of
them depending on the size of the area being covered. Do goggle search
for 'UK PAF Data' for all the links.
There is still a debate as to the need to keep paying the Royal Mail
licence fee if you are not getting updates to the data, and there is no
requirement to remove the data ( that we have found ) so if you maintain
the data yourself, then Royal Mail Customer Services have repeatedly
said that there is no need to pay a licence. It is a grey area
I have a quite comprehensive set of data (190Mb Firebird database) which
has all the information in, and a lot that is not in the RM version
(post code only - no Postal Address house numbers) but I simply do not
know if I can make it available free :(
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php