Re: Question about DBI in a CGI program...

2001-04-02 Thread Peter J . Holzer
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

Re: Question about DBI in a CGI program...

2001-03-31 Thread Philip M. Gollucci
#!/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);

Re: Question about DBI in a CGI program...

2001-03-31 Thread Michael A. Chase
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

Question about DBI in a CGI program...

2001-03-30 Thread Nuno Medeiros
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