...

View Full Version : CGI and Netscape???



jdavidw13
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?
Thanks,
JD

Mouldy_Goat
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?

jdavidw13
08-10-2002, 02:29 AM
Oh man, I'm such an idiot, lol, can't believe I forgot that lol.

Mouldy_Goat
08-10-2002, 02:34 AM
Just out of curiosity what server software are you using?

jdavidw13
08-10-2002, 02:35 AM
Apache



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum