Kotoblog - is a tech blog about programming

Get prefer language by parsing HTTP_ACCEPT_LANGUAGE header


This is very common and simple task for web development.
However I can't find any pretty solution. So I spend some time to write one PHP 5.4 sample.
Don't ask me how it works, just trust that it's works like a charm :)

For Silex I have grate solution:


© 2010-2017 Kotoblog
Work on Silex
Using Twitter Bootstrap