RE: [PHP] form cleaner class

2008-02-21 Thread Andrés Robinet
> -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 > CleanInp

Re: [PHP] form cleaner class

2008-02-21 Thread Casey
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 > >

Re: [PHP] form cleaner class

2008-02-21 Thread Casey
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 im

[PHP] form cleaner class

2008-02-21 Thread nihilism machine
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? 0) { foreach($_POST as $curPostKey =