in reply to Netscape 4.7 and down won't run this script, IE, NS6 - works fine

Okay, Got both of my directory searches working properly. Turns out, the PerlSendHeader in the config had been deleted. With that back in, Netscape recognizes the print "Content-Type: text/html\n\n"; and IE now does not display that line of text at the top.

Now the only Perl script left to fight is my Perlfect search, which again runs fine in internet explorer but not in Netscape.

www.swosu.edu/util/search.htm

CD - (helpanovice + some more experience at the end of the day!)
  • Comment on Re: Netscape 4.7 and down won't run this script, IE, NS6 - works fine

Replies are listed 'Best First'.
Re: Re: Netscape 4.7 and down won't run this script, IE, NS6 - works fine
by a (Friar) on Jan 23, 2001 at 10:34 UTC
    Your close table tag isn't. Change it to </table> and you'll be swell. NE is particular about it's tables. And I'm guessing the META content-type = ... isn't doing much. IE and NE have different ways of determining content type; IE ignores the content type tag, NE pays orea attention, but you've got it after the <HTML> tag, so it may be too late.

    a

      no, meta-tags can't change much since the content-type is already sent with the http-header (which, in normal case, you create all by yourself when writing perl-cgis). And a meta-tag in that form doesn't exist anyway. The correct version is (e.g.):
      <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
      (xhtml compatible..)

      If using tables you should be extremly carefull. NS has some really weird behavior, e.g. when you give a columns width in percent you can't center it anymore, etc.. (there some ways to work around, but i had that problem several times..) Try using CGI.pm or close ALL tags.. It doens't matter if you have too many closing tags, but it matters if you don't have enough..

      Regards, octopus

      --
      GED/CC d-- s:- a--- C++(+++) UL+++ P++++$ L++>++++ E--- W+++@ N o? K? w-- O- M-(+) V? !PS !PE !Y PGP+(++) t-- 5 X+ R+(+++) tv+(++) b++@ DI+() D+ G++ e->+++ h!++ r+(++) y+
      Sometimes you overlook the obvious don't you?

      Things are wonderful - I blame the Monday bug for all the problems.