Author Archive For: yangqi


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 ...


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 ...


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 ...


Hello world!

Welcome to WordPress. This is my first post. Read or comment on it, then start surfing!