Usually the problem is that the account the browser is running under doesn't
have some of the necessary environment variables set or doesn't have
permission to read and/or execute some of the DBI or DBD files.
Check the webserver logs for error messages.
--
Mac :})
** I normally forward private database questions to the DBI mail lists. **
Give a hobbit a fish and he'll eat fish for a day.
Give a hobbit a ring and he'll eat fish for an age.
----- Original Message -----
From: "Nuno Medeiros" <[EMAIL PROTECTED]>
To: "Dbi-Users" <[EMAIL PROTECTED]>
Sent: Friday, March 30, 2001 1:00 AM
Subject: Question about DBI in a CGI program...
> I'm new in perl dbi. i have a linux RH7 and Oracle 8.1.7.
> I want to write a script that runs from a browser.
>
> my first script is only to test the DB connection and works fine if i run
it
> from the shell.
> if i run it from a browser, it does the DBI->available_drivers() but it
> does'nt connect to the DB.