Subscribe
Twitter Updates
- RT @firefox: A new update for Firefox is here. This release makes updating easier and includes a bunch of developer goodies: http://t.co ... 3 weeks ago
- today's worklog: git log --committer=cristianrd --since=1.day 1 month ago
- Beware of deceptive in-app advertising bit.ly/IENvRS 1 month ago
- RT @phoronix: Adobe Issues Final Linux Flash Player Release: Adobe released the official Flash Player 11.2 for Linux release t... http:/ ... 1 month ago
- James Justice Shuts Down the College Dunk Contest: youtu.be/BS737iP9AzY via @youtube 1 month ago
Category Archives: PHP
Display random posts in WordPress
WordPress posts may be randomly displayed using the “Get random results from a MySql table” tip placed in a simple plugin. What this plugin does is to simply ad the “RAND()” value to “ORDER BY” clause in the sql query which retrieves the WordPress posts.Continue reading
PHP CLI increase memory limit
When running a PHP script from command line interface (CLI), a higher memory limit may be required in order for the script to be successfully executed. This can be achieved using the “-d” or “–define” option in the commandContinue reading
