> I have created a cgi-perl script for a web-site. I am using cookies and > mysql for database on a Linux box. > When my page is called in IE, it works great, but Netscape throws out the > whole HTML code. > Now, if I copy this code and save it in a file as xyz.html, it works perfect > in Netscape. I think if the HTML code had been imperfect it would have the > same problem, but that's not the case.
When you return results to a web browser, you have to send a "header" saying what kind of results you are returning (text, HTML, image, etc). Explorer assumes html, Netscape assumes text. If you are using CGI.pm (and you should be), make sure you have something like: print $q->header(); # or $query, or whatever your CGI object is. before you print anything else. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
