Category Archives: PHP

responsive file manager with laravel


Thumb folder creation issue on windows:

System will try to create thumb folders with relative path and will fail to detect if the folder exists or not in


CodeIgniter with Zebra Session



Do not use session_start();

Note: Put $session in $GLOBALS is very important or this variable wont’ be accessible in controllers and data in session will be lost after redirection and won’t be saved in database.

截斷中文字避免亂碼 Cut Chinese Characters



Line break from PHP to Javascript


Escape XML node value