Hi All

I am running the following script. Using ODBC for the first time

<snip>

#!D:\Perl\bin\perl

use Win32::ODBC;
use DBI;

use CGI qw(:standard);
use CGI::Carp qw(fatalsToBrowser);

my $dbh = new Win32::ODBC("dBASE Files") or die Win32::ODBC::Error();


</snip>


I get the following error in the browser, when I run it on Apache web server.


911 at D:/Program Files/Apache Group/Apache2/cgi-bin/odbc2.cgi line 10.


But when I run this code on command line - no error.

I have setup a System DSN "dBASE Files" which I am using in the above string.

What's wrong?

Aman

--
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with [EMAIL PROTECTED] http://shopnow.netscape.com/




Reply via email to