Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Preventing SQL injection attacks: Placeholders are enough for MySQL, Postgresql and SQLite

by siracusa (Friar)
on Jan 10, 2008 at 14:10 UTC ( #661618=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $sth = $dbh->prepare('SELECT * FROM t1 WHERE somedate = ?');
    $sth->execute('CURRENT'); # Boom: error!
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://661618]
help
Chatterbox?
and not a whimper to be heard...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2017-10-24 04:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (286 votes). Check out past polls.

    Notices?