Catching most PHP errors

When developing in PHP you may have encountered the following problem:

During an upgrade of the code, or just a minor bug fix, you have introduced new (non critical-error) code. This is causing PHP to crash and report ugly warnings to the user.

Well I think most developers of PHP have found this problem. One option, which is always done on live servers, is setting the logging level very low. Only critical errors are displayed. Though effective it’s far from perfect. I know I want to know when a page is creating problems, even if it is just a minor bug.

[Read More]
website  PHP 

Language indicator, to use or not to use?

I’ve recently gotten a few questions on the issue of multilingual website implementation and the usage of a language indicator (eg: nl, uk, de). So today it’s time to look into best practice, both from the visitors point of view as well as that of the programmer.

Visitors like confirmation

That was easy. I just summed up the reason why it could be important for your visitor to include a language indicator in the URL. If I am browsing your website I would like to know what language the information is that I can expect. And I mean all of the information, not just this page. Because of that reason I would prefer to see a URL like:

[Read More]