Category Archives: PHP

Secure Upload Folders

There are two ways to prevent execution of any (malicious) scripts uploaded to by users.
Method one – like described in this post.
Method two – add the below code to .htaccess file of the directory that needs to be protected.

RemoveHandler .cgi .php .php3 .php4 .php5 .phtml .pl .py .pyc .pyo .sh .html .shtml .jsp

If it doesn’t work for PHP scripts on servers where suPHP is enabled, then see this post

PHP Microframeworks

Below is a list of some PHP Microframeworks

  • Epiphany
  • Flight
  • Fat Free
  • Silex
  • Slim
  • BulletPHP
  • Limonade
  • Phalcon
  • Recess PHP
  • Tonic
  • Wave Framework
  • Zaphpa

Though all have their own merits and demerits but Phalcon is the most recommended one for speed and Slim and Flight for ease and speedy learning. In general Slim seems to be the most preferred one and has quite some handy features.

Trends in PHP based CMS

WordPress seems to be gaining up and looks like it will do so for some time more.

Search Trends for WordPress, Drupal and Joomla


Search for WordPress by Country

Search for Drupal by Country

Search for Joomla by Country