[nycphp-talk] Single-Logon User Authentication, PHP and viewingnon-ASCII

Chris Snyder csnyder at
Mon Aug 18 17:29:05 EDT 2003

Any reason why header("Content-type: image/jpeg") wouldn't work with CGI?

Phil Powell wrote:

>I am thinking of doing CGI as a good interim solution for the /content
>problem, however, there is one area I cannot figure out.
>Whereas I could use CGI to display a list of files, and CGI to view an
>ASCII-based file (.txt, .html, .php, etc.) and display within the CGI
>wrapper, what would I do about non-ASCII files such as .doc or .pdf  or even

More information about the talk mailing list