James Bachini

UK Postcodes for major cities

This is useful for PoF advertising. A list of postcodes (Zip Codes) for major cities in the UK. Can be used for all sorts of other uses, as you can see this was formatted for a php geo-targeting script.

$postcode[‘London’] = ‘W1D1AP’; // use for england radius 75miles
$postcode[‘Birmingham’] = ‘B46QS’;
$postcode[‘Leeds’] = ‘LS18TL’; //not working
$postcode[‘Glasgow’] = ‘G22EN’;
$postcode[‘Sheffield’] = ‘S38LN’;
$postcode[‘Bradford’] = ‘BD12DH’; //not working
$postcode[‘Edinburgh’] = ‘EH11JT’;
$postcode[‘Liverpool’] = ‘L11RH’;
$postcode[‘Manchester’] = ‘M607HA’;
$postcode[‘Bristol’] = ‘BS13AD’;
$postcode[‘Cardiff’] = ‘CF101SZ’;
$postcode[‘Coventry’] = ‘CV11LZ’;
$postcode[‘Leicester’] = ‘LE16ES’;
$postcode[‘Belfast’] = ‘BT365WN’;
$postcode[‘Nottingham’] = ‘NG13PZ’;
$postcode[‘Newcastle’] = ‘NE18JQ’;
$postcode[‘Hull’] = ‘HU11EP’;
$postcode[‘Plymouth’] = ‘PL12HJ’;
$postcode[‘Stoke’] = ‘ST15NB’; //not working
$postcode[‘Wolverhampton’] = ‘WV13AE’;
$postcode[‘Derby’] = ‘DE11LF’;

$postcode[‘Wakefield’] = ‘WF11JU’;
$postcode[‘Sunderland’] = ‘SR13PT’;
$postcode[‘Brighton’] = ‘BN11NS’;
$postcode[‘Swansea’] = ‘SA15LS’;
$postcode[‘Southampton’] = ‘SO141NB’;
$postcode[‘Salford’] = ‘M65RS’; // very close to manchester
$postcode[‘Aberdeen’] = ‘AB115PD’;
$postcode[‘Portsmouth’] = ‘PO12LX’;
$postcode[‘York’] = ‘YO16DH’;
$postcode[‘Peterborough’] = ‘PE11BA’;
$postcode[‘Dundee’] = ‘DD13JP’; // Use for scotland at 75miles radius, aberystwhyth for wales is SY234DF radius 25miles
$postcode[‘Lancaster’] = ‘LA11HP’;
$postcode[‘Oxford’] = ‘OX12LN’;
$postcode[‘Newport’] = ‘NP201QU’;
$postcode[‘Preston’] = ‘PR13AU’;
$postcode[‘St Albans’] = ‘AL1 1JQ’;
$postcode[‘Norwich’] = ‘NR21JR’;
$postcode[‘Chester’] = ‘CH12BD’;
$postcode[‘Salisbury’] = ‘SP12ND’;
$postcode[‘Cambridge’] = ‘CB11LY’;
$postcode[‘Exeter’] = ‘EX11HD’;


Get The Blockchain Sector Newsletter, binge the YouTube channel and connect with me on Twitter

The Blockchain Sector newsletter goes out a few times a month when there is breaking news or interesting developments to discuss. All the content I produce is free, if you’d like to help please share this content on social media.

Thank you.

James Bachini

Disclaimer: Not a financial advisor, not financial advice. The content I create is to document my journey and for educational and entertainment purposes only. It is not under any circumstances investment advice. I am not an investment or trading professional and am learning myself while still making plenty of mistakes along the way. Any code published is experimental and not production ready to be used for financial transactions. Do your own research and do not play with funds you do not want to lose.


Posted

in

by