Fetch city and state name by country code and zip code using GeoName API, cURL and PHP
In js/ folder there have one file named custom.js. there line 22 need to change the username.
var username = 'your username'; // please change the username with your username
For demo click here
- need to create an account if not any. please click here for new account.
- need to confirm email address.
- username is important here. username needs to passed as parameter.
- for using free webservices your username must have to enable.
- for login click here. To enable click here and see in bottom you will see a text "Click here to enable.". Just click the link and your username ready to use.