[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Perl/CGI -> mySQL



>I am having a perplexing issue.  I have a perl script that is trying
>to access a mySQL database.  If I run the perl code that accesses
>the database by itself, it works, but if I run it through a CGI program
>it does not.  The code is identical between the two programs where the
>database access is being attempted.

I have a couple of mySQL cgi programs that do-not like
to be run from TELNET, but only work from the WEB...
Try adding the print "Content-type: text/html\n\n" then
run it from a URL, just to see what happens...

Bill