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

Re: Use placeholders. For SECURITY!

by bradcathey (Prior)
on Dec 01, 2003 at 16:08 UTC ( [id://311297]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Validate;
    use strict;
    ...
        
    my $stmt = "INSERT INTO tablename VALUES ('$firstname')";
    excute...
    
  2. or download this
    package Validate;
    
    ...
        return "$1";
    }
    1;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-23 22:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found