public marks

PUBLIC MARKS from fredbird with tags web-dev & license:cc

13 September 2005 09:15

fredbird.org | Getting browser language settings with PHP

So, you run a multilingual web site with PHP and you want to serve the reader's choice language if available. No problem, HTTP carries user's language settings within Accept Language instruction, you just have to parse it. Here is a sample function

fredbird's TAGS related to tag web-dev

aide +   apache +   api +   atom +   blog +   bot +   cheat-sheet +   code +   coop +   css +   data +   data-tree +   db +   dev +   dev-theory +   dev-xp +   django +   doc +   dom +   effect +   extension +   feed +   fiche +   firefox +   folksonomy +   form +   framework +   good-practice +   google +   has:feed +   html +   http +   id +   informatique +   jabber +   javascript +   lang:en +   lang:fr +   library +   license:cc +   license:gpl +   liens +   logiciel +   logiciel-libre +   mac +   metadata +   microformat +   microformats +   mod rewrite +   mvc +   mysql +   netvibes +   notes +   open-source +   openid +   opera +   optimisation +   os +   os-x +   pattern +   php +   platform +   portail +   pratique +   print +   python +   ref +   rest +   rss +   search +   securite +   source-code +   spec +   spell +   sql +   standard +   tags +   tech +   template +   test +   tool +   tools +   trackback +   tree +   type:article +   type:livre +   type:log +   url-rewriting +   urn +   validator +   w3c +   web +   web-app +   web-service +   webforms +   wiget +   xforms +   xhtml +   xml +   xml-rpc +