So it runs fine from the command line, but not anywhere else. I saw the FAQ at www.roth.net and I saw this question on here, but I didn't understand it very well. So please don't just copy and paste from the roth FAQ.require "c:/vcanew/cgi-bin/cgi-lib.pl"; print &PrintHeader; print &HtmlTop(); if (!($db = new Win32::ODBC("MyDSN"))) { print Win32::ODBC::Error(); print &HtmlBot; exit(); } else { print "Works"; print &HtmlBot; }
In reply to Win32::ODBC doesn't connect on browser by ckim06
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |