Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Perl Monk, Perl Meditation
 
PerlMonks  

Re: class-dbi-mysql and null values

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 07: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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://582305]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.