On 2/15/07, Chris Shiflett <[EMAIL PROTECTED]> wrote:

All those characters might be in a headline? If so, carry on.

Probably not, but people never cease to amaze me.

it would be worth finding out (using historical data or something) how you
can restrict your criteria a bit more.

So rather than use the one function for validating headline,
subheadline, etc. you are saying to create specific functions for
validating each of the fields?

The correct process would be to:

1. Run fix_magic_quotes() to ensure that all of the backslashes are
removed (if magic_quotes_gpc is on)
2. Run each piece of data through the appropriate function for validation
3. Re-insert the slashes using the database specific function

--
Randal Rust
R.Squared Communications
www.r2communications.com
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to