>Does anyone know the formula for the proximity search in regards to postal code and zip code so to locate whatever is around a radius of 50 km, for example?
This looks like it might work for you:
http://www.a1vbcode.com/snippet-3557.asp(You will need a database with the longitudes and latitudes)