Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: class-dbi-mysql and null values

by fmerges (Chaplain)
on Nov 05, 2006 at 11:36 UTC ( #582305=note: print w/replies, xml ) Need Help??


in reply to class-dbi-mysql and null values

Hi,

Don't do that, don't use a param directly to update the DB. There's something called tainting and validation. Take a look at Data::FormValidator.

Regards,

fmerges at irc.freenode.net

Replies are listed 'Best First'.
Re^2: class-dbi-mysql and null values
by davidj (Priest) on Nov 05, 2006 at 12:08 UTC
    I'm familiar with taintedness and validation. I cut that part out of the code I supplied since it didn't seem relevant to the specific problem. Good catch, though.
    davidj

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://582305]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2016-08-31 15:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (432 votes). Check out past polls.