1833017 Members
2315 Online
110048 Solutions
New Discussion

html showing as text

 
Neale Machin
Advisor

html showing as text

We run netscape from a D class but use an export DISPLAY=xx.xx.xx.xx to run it up on our PC screens (with Exceed running). This works fine until we execute a piece of perl code on the D that sends html to netscape . This appears as text. Should I be setting something in perl or netscape to stop this ?
Just cos I look after Unix Boxes doesnt mean I wear sandals
3 REPLIES 3
Vincenzo Restuccia
Honored Contributor

Re: html showing as text

Your version of Netscape not support a piece of perl code ? Download latest vesion.
Laurent Paumier
Trusted Contributor

Re: html showing as text

If your "piece of perl code" is a cgi, it needs to send a header line telling netscape "hey, this is html, not plain text". The output of your perl script should look like this (header lines, blank line, page body) :

---
Content-Type: text/html

html code
---
Neale Machin
Advisor

Re: html showing as text

content shows what you mentioned but still shows as text.Weird..
Just cos I look after Unix Boxes doesnt mean I wear sandals