Re: Good Answers

From: Date: Wed, 10 May 2006 19:12:44 +0000
Subject: Re: Good Answers
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-235937@lists.php.net to get a copy of this message
I agree. Some times i don´t put my questions here because i don´t know how to ask. But, many people do. ""Richard Lynch"" <ceo@l-i-e.com> escreveu na mensagem news:59530.67.108.68.36.1147286917.squirrel@www.l-i-e.com... > Hey y'all... > > In the spirit of improving the mailing list, I'd like to suggest that > we, as a group, attempt to not provide answers with Bad Practices, or > at least always to point out that the Sample is Bad Practice for > production sites? > > For example, an answer to a question about <?php echo $foo?> where it > is clear that register_globals is "off" should either specifically > sanitize the data, or make reference to the need to sanitize the data, > or link to http://phpsec.org or something along those lines. > > Otherwise, we merely perpetuate the problems of Bad Code with our > answers to newbies, who then run off and write insecure sites and > cause us more grief down the road. > > Hmmm. Maybe this should be part of a Netiquette document "How to give > good answers" right next to that "How to ask good questions" document > :-^ > > -- > Like Music? > http://l-i-e.com/artists.htm

« previous php.general (#235937) next »