View Full Version : CGI and Netscape???
08-09-2002, 04:56 PM
I've developed a cgi script in korn shell, when I run it in ie it displays fine, but if I run it in netscape it shows all the html tags and everything. The script did what it was suppose to do, but netscape displays everything that was echoed out, even the html tags!!! Anyone have any ideas on how to fix this?
08-10-2002, 02:16 AM
I think this must be something to do with the headers you're outputting..
What's the first thing you're printing out to the browser...?
Is it print "Content-type: text/html\n\n"; or some equivalent?
08-10-2002, 02:29 AM
Oh man, I'm such an idiot, lol, can't believe I forgot that lol.
08-10-2002, 02:34 AM
Just out of curiosity what server software are you using?
08-10-2002, 02:35 AM
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.