Article of the week

Installing WordPress language files automatically

Installing WordPress language files automatically

20 May 2017 22:03:03


Installing language files (.mo) automatically in WordPress.


Installing language file(s) is one of possibly hundreds small tasks one has to plod through while building a multilingual website or blog with WordPress. Mostly due to being documented well, the task is not difficult to carry out. Nonetheless, it diverts attention from other ...

Read full article »

Recent articles

Validating user input with functions in PHP

09 Sep 2017 21:07:45

Validating user input with functions in PHP

User input validation is one of the oldest and most frequently occurring problems in computer programming. It crops up regardless of programming language and at almost every project. If not dealt with skillfully, in particular when larger amount of user input is involved, it ...

Read more »

Mapping numeric score to feedback message in PHP

06 Sep 2017 23:04:22

Mapping numeric score to feedback message in PHP

The other day I coded a sort of game in PHP programming language. One of it's features is a final score pop-up message, which consists of three parts. They are a number, a percent and a few words of a humoristic player performance feeback. The feedback is based upon the ...

Read more »

Traversing array from the middle in PHP

30 Aug 2017 15:51:20

Traversing array from the middle in PHP

Traversing an array starting from the middle item in it is in many ways similar to traversing it from the beginning or the end. One small catch is such that, the middle item, or to be more accurate, the middle index of the array, has to be found before the rest of job can be ...

Read more »

Square pyramidal numbers and implementing them in PHP

19 Aug 2017 14:24:59

Square pyramidal numbers and implementing them in PHP

Square pyramidal numbers and implementing them in PHP Imagine a couple of boxes standing on a table. In each of these boxes there is one or more balls. Boxes are sorted according to the number of balls they contain. When you look into these boxes, you notice, that in the first ...

Read more »