Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Re: Secure ways to use DBI?

by phydeauxarff (Priest)
on Apr 17, 2003 at 12:56 UTC ( [id://251179]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Data_config;
    
    ...
    our $DATABASE = "database";
    our $USERNAME = "database";
    our $PASSWORD = "password";
    
  2. or download this
    ## Create a database handle ##
    my $DSN = "DBI:$DBDRIVER:database=$DATABASE:host=$DBHOST:port=$DBPORT"
    +;
    ...
            RaiseError => 1,
            PrintError => 1
    });
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-25 13:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found