tedd wrote: > At 12:56 AM +0100 11/28/07, Jochem Maas wrote: >> Colin Guthrie wrote: >>> tedd wrote: >> >> ... >> >> > >> > Sorry Tedd, but I'm not sure where the browser sniffing stuff came in. >>> IE and FF both offer a UI to input the user's preferred language, it's >>> an HTTP standard thing and nothign to do with user agents string >>> parsing. It uses the Accept-Language header sent with http requests to >>> detect the language. It's quite standard but problems usually crop >>> up in >>> e.g. Australia and the UK where a lot of people leave the default en-US >>> language when en-GB or en-AU would be better. Again it's not infallible >>> but it's a fairly good starting point. >> >> ditto. > > So, sniffing the browser to determine language isn't the same as browser > sniffing -- OK. > > Sorry, my bad. lol. If you define this as "sniffing" tedd, then I by that token you'd have to define the "GET / HTTP/1.1 \n Host: www.mysite.com" bit as sniffing too ;) Col -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php