Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by talexb (Canon)
on Jan 09, 2008 at 17:29 UTC ( #661423=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
          print "\n";
        }
    }
    
  2. or download this
    Connected OK to mysql:test.
    Clear out existing data from the test table ..
    ...
    55, 'Just regular data'
    66, 'Evil data');DELETE FROM jobs;'
    3 rows
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://661423]
Approved by friedo
Front-paged by Arunbear
help
Chatterbox?
[marto]: https://www. youtube.com/watch? v=WZnsHvEYEZI
[Discipulus]: marto apotropaic gestures in Eataly..
[Discipulus]: LanX nick does not downvote peoples, just content he dislike (I think)
[Discipulus]: anyway I have my Tk toys running at 50%!! someone want to see it?
[LanX]: disc+ true every node authored by me or mentioning Perl 6 ;)

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2018-04-26 10:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?