Base64 Image Encoder
Category Archives: Programming
Prevent multiple submit of your form
Multiple submissions of the same form is definitely one of the most common problem seen when working with web forms. Here’s a super useful piece of code to prevent multiple submissions of the same form.
PHP regular expressions for web developers
Regular expressions are a very useful tool for developers. They allow to find, identify or replace text, words or any kind of characters. In this article, I have compiled 15+ extremely useful regular expressions that any web developer should have in his toolkit.
How to Fix and Cleanup the TimThumb Hack in WordPress
So if you remember correctly, there was a security issue with the TimThumb script in August which was fixed. However still to our surprise, many sites are still using the old version. We have fixed three sites so far in the past month, one being yesterday. So it makes sense to simply write a step …
Continue reading “How to Fix and Cleanup the TimThumb Hack in WordPress”
Cleaning Up the TimThumb Hack
Several of my websites were hacked this week using the TimThumb exploit. The issue has been known for a couple weeks now.
Hook System with PHP
I was recently coding a web-application base in PHP and it occurred to me that including a hooking system won’t be a bad idea. I like the way hooks are used in wordpress for almost every task. Implementing a hook system makes the application more flexible and modular, all with a small bit of code.