Do as Cal says

Cal has a great article about writing robust PHP. Specifically, making it less vulnerable to malicious or dumb users, less erratic on different PHP set-ups, and generally much betterer. PHP is so forgiving that coders tend to get extremely sloppy. I know I do; becoming re-acquainted with Perl's rigour after months of PHP was a shock to my system recently. Perhaps error_reporting(E_ALL); should be the first thing PHP coders type, the equivalent of Perl's use strict;?

Post a comment

(required)

(required)

(optional)


Allowed tags: a href, blockquote, strong, em, ul, ol, li, p, br/, pre.
URLs will be turned into links.