No such thing as a small change | |
PerlMonks |
Re: Re: Re: Use placeholders. For SECURITY!by bradcathey (Prior) |
on Dec 01, 2003 at 22:07 UTC ( [id://311418]=note: print w/replies, xml ) | Need Help?? |
Okay, tilly, you are making me a believer. Armed with Paul DeBois' book MySQL and Perl for the Web and your posts, I'm starting to get it. The other thing I've been doing is escaping the quotes and apostrophes in strings (like "O'Connell") with $text =~ s/('|")/\\$1/g and it looks like placeholders takes care of all that for me. 1 stone, 2 birds. Thanks. —Brad "A little yeast leavens the whole dough."
In Section
Meditations
|
|