Technology
Protect your website against SQL injection
SQL injection is one of the deadliest techniques attackers use to exploit the weakness in your database code of your website. Regardless of the technology/scripting language you must make sure your code is 100% perfect against SQL injection.
Here I will use PHP and MySQL examples for its wide usage and also I’m much more comfortable [...]
PHPMailer for the rescue
When we start building a dynamic website or a Web Application using PHP, sending out Emails to the users is always on top of the To-Dos list. In most cases it will require sending the email in a specific template to maintain the branding of the website/application. In this situation the developer has to send [...]
Revamping lkgeeks.org
lkgeeks.org has been up there for a quite a while now but the traffic to the site seems to be declining at a considerable rate. In a nutshell lkgeeks.org is a Blog/Twitter aggregator that will give a quick glance at the posts/Tweets from our Lankan geeks. It was initially a requirement of mine that turned [...]
I keep coming back and this time for real..
At the beginning of this year I made a promise that my blog posts will flow and I will update regularly. But unfortunately for several reasons I haven’t posted anything in my blog since January. Juggling my life between work and family is one of the main reasons. My wife gave birth to a baby [...]
Extremely Useful PHP Tools
Just came across the 50 Extremely Useful PHP Tools posted at Smashing Magazine which immediately caught my attention. It lists all the great tools around PHP which makes it more easier and fun to code.
I have started to write an article series on PHP which will be featured in an online magazine which is scheduled [...]
CHMOD recursively
Time to time I come across this problem when I have to move large portions of directories and files from one location to another. Mostly after extracting from tar archives. The directory/file permissions are often messed up depending on the source I copied them or based on the way I copied/archived them. So I used [...]
Getting LAMP to work in Ubuntu Hardy
Few of my friends who switched to Ubuntu lately, asked me how to get LAMP (Linux, Apache, MySQL, PHP) working in their desktops. Most of them have installed Ubuntu 8.04 (Hardy Heron) so I planned to write a small guide on how to setup a LAMP development environment. This will require to have an Internet [...]
Cheat Sheets for Web Developers
I found this excellent list of cheat sheets for Web Developers. It even includes a cheat sheet for SEO. It will be really valuable for Web Developers to keep these cheat sheets in hand.
Cheat Sheets for Front-end Web Developers
Cheat sheets are helpful to have around because they allow you to quickly remember code syntax and [...]
lkgeeks.org – A blog aggregator for Sri Lankan FOSS/geek Blogs
Early this month I put up lkgeeks.org a Blog Aggregator for Sri Lankan FOSS/geek Blogs. This site is not intended to compete with other Sri Lankan Blog Aggregators but its goal is to let everyone read Blog posts only from the Blogs of FOSS/geek Bloggers. I'm a fan of Kottu, but it consists of Blogs [...]
My new ASUS X51R laptop and Ubuntu 8.04
After giving up my IBM Thinkpad laptop sometime back, I got used to working on Desktops for a while. But it didn't help me a great deal in organizing things when shifting my work from home to office and vice versa. So again I started hunting for a laptop that will fulfill all my needs. [...]

