public marks

PUBLIC MARKS from fredbird with tags http & license:cc

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

January 2005

fredbird's TAGS related to tag http

authentication +   data +   dev +   doc +   lang:en +   lang:fr +   license:cc +   license:gpl +   logiciel +   perl +   php +   resource +   source-code +   testing +   type:article +   type:log +   web-app +   web-dev +