Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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


Comment on Re: class-dbi-mysql and null values
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 browsing the Monastery: (6)
As of 2014-12-28 00:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls