Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] HTTP_ACCEPT ...?



Dave M G <dave@example.com> writes:
> On one web hosting server where I'm running some PHP scripts, I keep
> getting an error that says:
>
> Undefined index:  HTTP_ACCEPT
>
> I look for $_SERVER[HTTP_ACCEPT] as part of a script that tests to see
> if the browser is a mobile device or not.

Searching the online PHP docs for $_SERVER[HTTP_ACCEPT] gets this
page, which explains the issue you've run into. 

http://jp.php.net/reserved.variables

Dave


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links