Determing Content-type from request header when Apache installed as CGI
| From: | Chris Sommers | Date: | Fri, 08 Jun 2007 19:48:48 +0000 |
| Subject: | Determing Content-type from request header when Apache installed as CGI | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-256390@lists.php.net to get a copy of this message | ||
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?
+-----------------------------+----------------------------------- +
| Chris Sommers | web site: www.morningwoodacres.com |
| 6193 La Porte Rd. | e-mail: chris@morningwoodacres.com |
| Bangor, CA 95914-9701 | phone: (530) 679-0145 |
| cell ph: (530) 559-0603 | fax: (530) 679-0434 |
+-----------------------------+------------------------------------+