Archive for the ‘PHP’ Category

Showing PHP Errors

Wednesday, January 30th, 2008

As a PHP programmer, dealing with syntax errors is almost as important as breathing… and when a host takes away the ability to view these errors for “SECURITY REASONS” then… wow it sucks. Trying to go through the code to find an error… again… just sucks.

So I hit the old trusty net looking for a resolution to fix my situation. After several lame attempts that didn’t work… I came across the following. Of course you need to have access to modify your .htaccess file, but hey… works sweet for me.

 

http://www.blizzard-media.com/hosting/question/id/6.html

PHP: number_format - Manual

Sunday, January 13th, 2008

Just a quick reference link to the PHP manual for the number_format function.  Use this all the time, but for some reason always seem to forget the syntax.

http://us3.php.net/number_format