On 2001-03-31 09:24:00 -0800, Michael A. Chase wrote:
> Usually the problem is that the account the browser is running under doesn't
^^^
You mean the server, or rather, the CGI script (which is started by the
server, but may have a different enviro
#!/usr/local/bin/perl -wT
use DBI;
use CGI::Carp qw(fatalsToBrowser carpout);
use strict;
use warnings;
my $db_user = "xxx";
my $db_password = "xxx";
my $db_table = "table1";
my $db = "mysql";
my $database = "database1";
my %Attr = (RaiseError => 1, PrintError => 1, Taint => 1, AutoCommit => 1);
ED]>
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 r
hello,
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 connec