What is a better idea? Using this class in my db class and using
CleanInput on the sql statements, or using it in the top of the all
pages with form input to clean the $_POST's? Also, any ideas or
comments on improving the class?
?php
class FormCleaner {
// Initializer
On Thu, Feb 21, 2008 at 8:53 PM, nihilism machine
[EMAIL PROTECTED] wrote:
What is a better idea? Using this class in my db class and using
CleanInput on the sql statements, or using it in the top of the all
pages with form input to clean the $_POST's? Also, any ideas or
comments on
On Thu, Feb 21, 2008 at 8:59 PM, Casey [EMAIL PROTECTED] wrote:
On Thu, Feb 21, 2008 at 8:53 PM, nihilism machine
[EMAIL PROTECTED] wrote:
What is a better idea? Using this class in my db class and using
CleanInput on the sql statements, or using it in the top of the all
pages with
-Original Message-
From: nihilism machine [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 21, 2008 11:53 PM
To: php-general@lists.php.net
Subject: [PHP] form cleaner class
What is a better idea? Using this class in my db class and using
CleanInput on the sql statements
4 matches
Mail list logo