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

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

by phydeauxarff (Priest)
on Apr 17, 2003 at 12:56 UTC ( #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
Node Status?
node history
Node Type: note [id://251179]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2015-07-01 21:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (24 votes), past polls