Archive for \'PHP\'



Setup 64bit CentOS (PHP5, MySQL, memcached, ketama)

A script to setup 64bit CentOS with PHP5, MySQL, memcached and ketama.

Browser detection with PHP

How to set up and use PHP’s get_browser() function to detect client browsers.

PHP5 on OS X Leopard

How to get PHP5 running on an OS X Leopard machine.

Format JSON with PHP

A PHP function for formatting and indenting a JSON string.

Multibyte-safe CSV Parser

A multibyte-safe CSV parser i wrote for a recent project.

External Sessions in CakePHP

How to import a session from an existing PHP application into a cake application.

Multiple DBs in CakePHP

How to hack cake to use different databases for different models.

Add Dreamweaver Extensions

How to color-code extra extensions in Dreamweaver CS3.

Format XML with PHP

A PHP function for formatting and indenting an XML string.

Installing MySql/PDO for PHP

How to install PDO/MySql to fix Zend_Db_Adapter_Exception errors in Zend Framework

WordPress Theme Cheat Sheet