in reply to Re: Working for IE
in thread Working for IE, not Netscape

Well, i knew someone would probably figure out the problem. Thank you. Now, one other thing. How do I correct this as I'm leasing the web space, or am I missing something. (i.e. this is a script problem) Thanks again for your help and darn quick responses. CA

Replies are listed 'Best First'.
RE: RE: Re: Working for IE
by chromatic (Archbishop) on Jun 15, 2000 at 07:18 UTC
    You need to return the content-type in the HTTP header somehow, whether through CGI.pm's header() method, or by printing it:
    print "Content-Type: text/html\n\n";
    That's the canonical way you'll see it written. This has to be the first thing out of your script, though, as anything after the two newlines (technically something like \012\015\012\015) will be displayed in the browser.
      That's what I thought you might refer to, sorry I'm new to posting in here. This may not come thru great but here is the beginning of my frontpage.pl script; #!/usr/local/bin/perl BEGIN{unshift(@INC,"/usr/local/www/htdocs/pcworldlinks/cgi-bin/")}; use Cart; $path="/usr/local/www/htdocs/pcworldlinks/cgi-bin/DIST/"; %ele=Cart::cgiparse; if(!($ele{dist})){$dist=$ENV{'QUERY_STRING'};}else{$dist=$ele{dist};} %var=Cart::get_client($dist,$path); print "Content-Type: text/html\n\n"; print <<"EOF"; then my html code and ends with EOF } Does this look right? Thanks for the help.