Re: Determing Content-type from request header when Apache installed as CGI
| From: | Tijnema | Date: | Sat, 09 Jun 2007 08:26:48 +0000 |
| Subject: | Re: Determing Content-type from request header when Apache installed as CGI | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-256431@lists.php.net to get a copy of this message | ||
On 6/9/07, Richard Lynch <ceo@l-i-e.com> 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 Content-Type variable listed. Does someone know how to extract this in an Apache PHP CGI configuration? A request has a Content-type header?... I don't think it works like that...Never seen the Content-type header either in a request, do you mean the Accept header? Tijnema