Several of my websites were hacked this week using the TimThumb exploit. The issue has been known for a couple weeks now.
Category Archives: PHP
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.
How to Increase the Maximum File Upload Size in WordPress
Depending on the web hosting company you choose and the package you select, each of you will see maximum file upload limit on your Media Uploader page in WordPress. For some it is as low as 2MB which is clearly not enough for media files like (audio / video). Most pictures are under 2MB, so …
Continue reading “How to Increase the Maximum File Upload Size in WordPress”
crysta
Twig is a modern template engine for PHP Fast: Twig compiles templates down to plain optimized PHP code. The overhead compared to regular PHP code was reduced to the very minimum.
5 Solutions to Url Encoded Slashes (%2F) Problem in Apache
Script generated url structure based on actual data coming from external sources such as user input and rss feed, may result in a "404 (Not Found)"error in Apache especially when it contains url encoded slashes. Here’s why…
PHP FUNCTION TO CONVERT ACCENTED CHARACTERS TO THEIR NON-ACCENTED EQUIVALANT
Saw that someone was using a simple preg_replace() with Alpha Numeric only regex to deal with an Umlauted O in a string and thought I’d post a slightly better way of doing it. There’s always better ways, we’ve just got to share them, so here I go…