LNMP+Memcache+eAccelerator on Debian6

I recently rebuild my linux image on Linode, so I have to reinstall the LEMP stack again from ground. Last time was probably more than a year ago, with the ...

Read More

QR Code Generate Class in PHP

A QR code (short for Quick Response) is a specific matrix barcode (or two-dimensional code), readable by dedicated QR barcode readers and camera phones. The code consists of black modules ...

Read More

Simple snippet to get file extension in php

Following is a simple snippet I use to get a file extension in php, notice that the strrpos function returns the last position of the string “.” in filename in ...

Read More