Hey Jeff --

> In the CGI:;Application docs it says to never print anything out
> only to return.. it there an exception when reporting errors ?


The CGI-App docs say to never print anything to STDOUT.  That is because the
Common Gateway Interface (CGI) expects to get its response from STDOUT.

OTOH, you can print to STDERR (or any other file handle, for that matter)
without any problems.  The behavior of sane web servers (e.g., Apache)
should be to log output to STDERR in the error log files.


-Jesse-



  Jesse Erlbaum, CTO
  Vanguard Media
  http://www.vm.com
  212.242.5317 x115
  [EMAIL PROTECTED]



---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to