From: tedd <tedd@xxxxxxxxxxxx>
Olav:
Mine too.
But, Rasmus gave me this:
$action = isset($_GET['action']) ? $_GET['action'] : null;
Which could be translated to:
$language = isset ($_SERVER["HTTP_ACCEPT_LANGUAGE"]) ?
($_SERVER["HTTP_ACCEPT_LANGUAGE"]) : "*";
I think that might help.
Anyone see a problem with it?
Cheers,
tedd
I see a problem. If it is set and == "", you let it stay "" instead of
being assigned "*". Only when it is not "" should it be allowed to stay the
same.
_________________________________________________________________
Local listings, incredible imagery, and driving directions - all in one
place! http://maps.live.com/?wip=69&FORM=MGAC01
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php