public marks

PUBLIC MARKS from fredbird with tags source-code & type:log

January 2006

September 2005

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 source-code

actionscript +   atom +   blog +   calendrier +   checkbox +   css +   data +   date +   dev +   django +   dom +   effect +   encryption +   file +   flat-hierarchy +   form +   framework +   highlight +   http +   jabber +   java +   javascript +   lang:en +   lang:fr +   lib +   license +   license:cc +   license:gpl +   license:pd +   list +   logiciel +   logiciel-libre +   md5 +   open-source +   opendocument +   openid +   pdf +   perl +   php +   python +   radio +   repository +   resource +   ressource +   search-engine +   sort +   style +   table +   tags +   tech +   template +   template-engine +   test +   textarea +   tool +   tree +   type:article +   type:log +   validation +   web +   web-design +   web-dev +   xhtml +   xml +   xmlhttprequest +   zip +