Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: DBI script works on command line but not in browser

by Zombie codehopper (Initiate)
on Mar 07, 2003 at 18:10 UTC ( #241215=note: print w/ replies, xml ) Need Help??


in reply to DBI script works on command line but not in browser

use DBI;
my $dbh = DBI->connect("DBI:mysql:databasename:server", "user","password")
    or die "Couldn't connect to database";


Comment on Re: DBI script works on command line but not in browser

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2015-07-04 15:28 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 (60 votes), past polls