|
Posted by No_One on 03/18/06 09:08
I'm confused here...maybe someone knows and can explain.
I'm using a small drop in prog to manage some mysql databases at one of our
company sites....should have been a quick job.
The code, from phpMyEdit 5.4, is :
$opts['language']=$HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'];
I get an error message displayed:
undefined index HTTP_ACCEPT_LANGUAGE
OK, now it gets strange...this only happens in Opera for Linux ver 8.52
All other browsers, netscape, mozilla etc, have no problems and report no
errors. If I use a script with phpinfo() the info correctly reports the
corect lanuage EN-US --- interestingly, opera shows nothing for this
variable
If I write a simple php script:
echo $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'];
I get an error in opera and no where else....
I don't understand why opera is reporting this error, more importantly, I
don't understand what a browser has to do with this server variable...
Any explanation appreciated or a link...something
ken
[Back to original message]
|