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

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



Thanks, but I have that in all of the CGI programs.  These programs
worked when I accessed flat files, but I wanted to replace all the
flat files with database queries.  If I take the database stuff out
the programs work, of course without the data that I need...  :(


Richard

Bill Gunning wrote:
> 
> >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
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users
begin:vcard 
n:Perlotto;Richard
x-mozilla-html:FALSE
url:http://www.perlotto.com
org:Home
adr:;;;;;;
version:2.1
email;internet:richard@xxxxxxxxxxxx
x-mozilla-cpt:;-1
fn:Richard Perlotto
end:vcard