try using the PEAR packages they r really simple to implement, http://pear.php.net