Mailing List Archive


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

[tlug] HTTP_ACCEPT ...?



TLUG,

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. The code was partially taken from examples on the web.

I don't get the error on other servers, so I'm wondering if it's something that varies between servers?

Am I even making sense?

Any advice would be helpful.

--
Dave M G
http://www.tlug.jp/wiki/User:Dave_M_G


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links