Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] HTTP_ACCEPT ...?
- Date: Fri, 11 Apr 2008 10:45:09 +0900
- From: Dave M G <dave@example.com>
- Subject: [tlug] HTTP_ACCEPT ...?
- User-agent: Thunderbird 2.0.0.12 (X11/20080227)
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
- Follow-Ups:
- Re: [tlug] HTTP_ACCEPT ...?: wget
- From: jep200404
- Re: [tlug] HTTP_ACCEPT ...?
- From: dave
- Re: [tlug] HTTP_ACCEPT ...?
- From: Brian Chandler
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Ping vs www server
- Next by Date: [tlug] HTTP_ACCEPT ...?
- Previous by thread: Re: [tlug] Ping vs www server
- Next by thread: Re: [tlug] HTTP_ACCEPT ...?: wget
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links