As a follow on, a number of countries now offer online visas, or ESTAs. I haven't found any others that are free, but have successfully obtained visas and/or ESTAs for Burma, Sri Lanka, USA and Canada. All very straightforward, and issued within twenty four hours of application. Payment, in either local currency or US dollars easily done using a credit card. The only thing to watch is that you use the country's official site, and not one of the many agent's sites where you will be charged a hefty application fee. The real benefit of online application is not having to lose sight of your passport.