Re: [PHP] test for illegal characters and consequences

2006-04-05 Thread Angelo Zanetti
Paul Scott wrote: On Tue, 2006-04-04 at 15:32 -0800, Angelo Zanetti wrote: Ive developed a site and now I've come to the stage where I need to test each textfield on each form for illegal characters that have been inputted. I would like to know from some of you how you go about it? In our

Re: [PHP] test for illegal characters and consequences

2006-04-05 Thread Paul Scott
On Wed, 2006-04-05 at 13:34 -0800, Angelo Zanetti wrote: Thanks for the reply. So what do you do if someone enters illegal characters in one of your form? Do you inform the user and prompt them to enter the fields again or do you just strip out all the bad characters and enter the rest of

Re: [PHP] test for illegal characters and consequences

2006-04-05 Thread Angelo Zanetti
Paul Scott wrote: On Wed, 2006-04-05 at 13:34 -0800, Angelo Zanetti wrote: Thanks for the reply. So what do you do if someone enters illegal characters in one of your form? Do you inform the user and prompt them to enter the fields again or do you just strip out all the bad characters and

[PHP] test for illegal characters and consequences

2006-04-04 Thread Angelo Zanetti
Hi guys. Ive developed a site and now I've come to the stage where I need to test each textfield on each form for illegal characters that have been inputted. I would like to know from some of you how you go about it? Do you use a regular expression and test each textfield sequencially, also

Re: [PHP] test for illegal characters and consequences

2006-04-04 Thread Paul Scott
On Tue, 2006-04-04 at 15:32 -0800, Angelo Zanetti wrote: Ive developed a site and now I've come to the stage where I need to test each textfield on each form for illegal characters that have been inputted. I would like to know from some of you how you go about it? In our framework, we use a