Scot's right Phil, IE wasn't being 'smarter' it was being 'slacker' :-)
joel -----Original Message----- From: Scot Robnett [mailto:[EMAIL PROTECTED]] Sent: 21 May 2002 15:11 To: Phil Fickas; [EMAIL PROTECTED] Subject: RE: Netscape vs. IE Discrepancy FIXED That depends on how you look at it...Netscape was the browser that actually forced your hand to clean up the code, so which browser was smarter? :) Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] [EMAIL PROTECTED] -----Original Message----- From: Phil Fickas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 8:53 AM To: '[EMAIL PROTECTED]' Subject: RE: Netscape vs. IE Discrepancy FIXED Hi all. Thanks for the sanity check. I was printing a line of debugging before the content-type output line. Commenting that out fixed it. IE was smart enough to ignore it, while Netscape preferred to reject the page. Thanks again, Phil -----Original Message----- From: Scot Robnett [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 9:37 AM To: Phil Fickas; [EMAIL PROTECTED] Subject: RE: Netscape vs. IE Discrepancy It is possible that you are printing the HTML header twice, although I can't tell because we can't see the rest of your code. Exploder actually handles that situation a little more gracefully than Netscape if that is indeed your case...I can't tell based on the info provided though. Make sure that if you are using CGI.pm, you don't call something like $q->header; and then stick print "Content-type: text/html\n\n"; in there too. If you post more detail it would help. Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] [EMAIL PROTECTED] -----Original Message----- From: Phil Fickas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 8:07 AM To: '[EMAIL PROTECTED]' Subject: Netscape vs. IE Discrepancy HI, I'm creating a CGI script in perl for my web page. When I bring it up in IE 6 it displays beautifully, however, if I open it in Netscape 6, the cgi script runs but Netscape, instead of showing the web page, shows the text of the page (the html code) that my CGI script produced with the correct data nonetheless. I can't figure out why the discrepancy between IE and Netscape. For a little more background, I HAVE printed out the appropriate lines: ....... print "Content-type: text/html\n\n"; print "<html>\n"; print "<head>\n"; ....... and Netscape even shows the appropriate HTML including the <html> tag. I just can't understand why Netscape won't parse my html and then display the web page. Thanks, Phil --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]