Site Check – Web Site Advice

Get healthy advice on how to improve your web site and make money with it
Topics covered: Creation, Optimization, Marketing, Maintenance, Hosting, Tuning

Categories

Archive for September, 2008

PHP debugging

Author: Joe Savelberg 04.09.2008

Sometimes there are little errors in your PHP scripts and you need to debug them. If you don’t have access to the global PHP error log, then it’ll be difficult to see what goes wrong and where.

However if you’re able to put a .htaccess file on your web host, then you can add some little commands to that file to enable PHP logging and displaying. This allows you to find out what’s happening in your script. Read the rest of this entry »