IP tracking help |
[eluser]xwero[/eluser]
Which 5% did you understand CIs user agent library gets the string from the browser that gets send along with the http request. Quote:Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.4) Gecko/20060613 Camino/1.0.2As you can see the language string is embedded (en-US) and with the method accept_lang you can find out if the language you offer exist in the user agent string. Code: $langs = array('en','nl','es'); |
Messages In This Thread |
IP tracking help - by El Forum - 01-28-2008, 09:44 AM
IP tracking help - by El Forum - 01-28-2008, 09:50 AM
IP tracking help - by El Forum - 01-28-2008, 10:27 AM
IP tracking help - by El Forum - 01-28-2008, 10:42 AM
|