ok..this is my first bash at a serious cgi script. it is using DBI and CGI to 
connect to a bunch of databases and edit various fields. Problem is all was 
fine and dandy (more or less) while testing with IE5.5. Then I checked with 
netscape  4.77 and Konqueror 2.1.1  both of these just display the html!

this is the beginnings of the script

.......

my ($dbh) = DBI->connect ($dsn, $user_name, $password, \%attr);

# MAIN-BODY

my ($cgi) = new CGI;
my ($title) = "Groups Database Editor";
print $cgi->header ();
print $cgi->start_html (-title => $title);
print $cgi->h1 ($title);
print "<form method=\"POST\" name=\"/cgi-bin/admin2.cgi\">";


which produces to screen, output like this

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML><HEAD><TITLE>Groups Database Browser</TITLE>
</HEAD><BODY><H1>Groups Database Browser</H1><B>Contents of groups 
table:</B><BR>
<TABLE BORDER>
<TR>
<TD>Delete From Group</TD>
<TH><A 
HREF="/cgi-bin/admin.cgi?tbl_name=groups&sort_column=grouping">grouping</A></TH>
<TH><A HREF="/cgi-bin/admin.cgi?tbl_name=groups&sort_column=id">id</A></TH>
<TH><A 
HREF="/cgi-bin/admin.cgi?tbl_name=groups&sort_column=description">description</A></TH>

If I save this and display it....no problem... any thoughts?

Reply via email to