Mailing List Archive


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

[OT] Re: [tlug] HTTP_ACCEPT ...?



On Fri, Apr 11, 2008 at 2:06 PM,  <dave@example.com> wrote:
> 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
If it was the case, PHP version does matter here.

# I think that Dave ( the OP ) should have provided more information
# about his code and the environment,


-- 
Best Regards,
Nguyen Hung Vu ( Nguyễn Vũ Hưng )
vuhung16plus{remove}@example.com , YIM: vuhung16
Japan through an eye of a gaijin:
http://www.flickr.com/photos/vuhung/tags/fav/

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links