skills:

shortcut of "echo": <?=$foo?>

 

phpMyadmin timeout / maxlifttime / cookie validity:

ref:http://birdchan.com/home/2011/06/06/phpmyadmin-timeout-after-1440-seconds/

vim /etc/phpmyadmin/config.inc.php : add:

$cfg['Servers'][$i]['LoginCookieValidity'] = 60 * 60 * 4; //4 hours

vim /etc/php5/cli/php.ini : modify:

session.gc_maxlifetime = 14400