Re: [PHP] Determing Content-type from request header when Apache installed as CGI

2007-06-09 Thread Tijnema
On 6/9/07, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, June 8, 2007 2:48 pm, Chris Sommers wrote: I read many notes on apache_request_headers() about simulating this function when Apache is configured with PHP as a CGI. In looking at the $_SERVER variable definition, I do not see the

[PHP] Determing Content-type from request header when Apache installed as CGI

2007-06-08 Thread Chris Sommers
I read many notes on apache_request_headers() about simulating this function when Apache is configured with PHP as a CGI. In looking at the $_SERVER variable definition, I do not see the Content-Type variable listed. Does someone know how to extract this in an Apache PHP CGI configuration?

Re: [PHP] Determing Content-type from request header when Apache installed as CGI

2007-06-08 Thread Richard Lynch
On Fri, June 8, 2007 2:48 pm, Chris Sommers wrote: I read many notes on apache_request_headers() about simulating this function when Apache is configured with PHP as a CGI. In looking at the $_SERVER variable definition, I do not see the Content-Type variable listed. Does someone know how