Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Jul 2002
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Netscape CGI and Netscape???

    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

  • #2
    Regular Coder
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    126
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?

  • #3
    New Coder
    Join Date
    Jul 2002
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Oh man, I'm such an idiot, lol, can't believe I forgot that lol.

  • #4
    Regular Coder
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    126
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Just out of curiosity what server software are you using?

  • #5
    New Coder
    Join Date
    Jul 2002
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Apache


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •