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]Re: [tlug] HTTP_ACCEPT ...?
- Date: Fri, 11 Apr 2008 11:17:46 +0900
- From: "Ryan King" <communist.goatherder@example.com>
- Subject: Re: [tlug] HTTP_ACCEPT ...?
- References: <47FEC288.4040800@autotelic.com>
Odd. It would seem that the server you are running that script on is not setting HTTP_ACCEPT. You can check out more detail by just writing a quick script to call 'phpinfo()' and check the PHP variables down the bottom (ie: _SERVER["HTTP_ACCEPT"].
RyanOn Fri, Apr 11, 2008 at 10:44 AM, Dave M G <martin@example.com> wrote: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
--
To unsubscribe from this mailing list, please see the instructions at http://www.tlug.jp/list.html
Please visit our sponsor at http://www.primustel.co.jp/tlug/
- References:
- [tlug] HTTP_ACCEPT ...?
- From: Dave M G
Home | Main Index | Thread Index
- Prev by Date: [tlug] HTTP_ACCEPT ...?
- Next by Date: Re: [tlug] HTTP_ACCEPT ...?: wget
- Previous by thread: [tlug] HTTP_ACCEPT ...?
- Next by thread: Re: [tlug] HTTP_ACCEPT ...?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links