in reply to How can I remove HTTP Header

It seems you have to add your own HTTP request status, or IIS will generate its own headers and treat yours as text. Try print "HTTP/1.0 200 OK\nContent-Type: text/html\n\n"; Note I'm just concluding from a bit of googling. I had seen something about header handling being broken on IIS in various CGI scripts, but I haven't ever actually dealt with that problem, so YMMV.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re: How can I remove HTTP Header
by TwitchyEye (Initiate) on Oct 20, 2002 at 17:57 UTC
    That's a bit better. It printed out less text. It only printed out that specific information:
    HTTP/1.1 200 OK Content-Type: text/html
    instead of :
    HTTP/1.1 200 OK Date: Sun, 20 Oct 2002 17:54:06 GMT Server: Microsoft-IIS/5.0 Content-type: text/html
      Here's the fix. It is a problem with the server settings. Here is how to fix the settings: http://perl.xotechnologies.net/tutorials/SSI/SSI.htm
      Basically you must associate perl.exe with SSI instead of PerlIS.dll otherwise the HTTP header will show up in your browser
      Thanks for all the help.
      TE