# Quick PHP question HTTP\_ACCEPT...

**URL:** <https://boards.straightdope.com/t/quick-php-question-http_accept/87851>\
**Category:** Factual Questions\
**Created:** [October 16, 2001, 11:37pm UTC](https://boards.straightdope.com/t/quick-php-question-http_accept/87851 "2001-10-16T23:37:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fandango](https://avatars.discourse-cdn.com/v4/letter/f/b5ac83/32.png) [@fandango](https://boards.straightdope.com/u/fandango)\
**Post date:** [October 16, 2001, 11:37pm UTC](https://boards.straightdope.com/t/quick-php-question-http_accept/87851/1 "2001-10-16T23:37:24Z")

</div>

When I call phpinfo(); to get a read out of all the Apache variables, the HTTP\_ACCEPT variable supposedly holds all my HTTP Accept info like text/html, etc., but when I use the $HTTP\_ACCEPT in a program like this:

echo $HTTP\_ACCEPT;  
I just get _/_ as my accept type. Why? How can I get the complete list?
