PHP 7 operators: null coalescing (??) and space ship (<=>)

There are two changes regarding PHP 7, concerning two new operators that have been very useful to me during my years in PHP. The “null coalescing” Operator: ?? In an expression it will return the left operand if this is not NULL, if this condition does not occur the right […]

Read More…

“Cookie law” tutorial – Banner

In this episode I will help you avoid problems with the notorious law, so called, “Cookie Law” (or law eats biscuits, for friends). This law obliges any website owner to insert a banner that signals the presence of cookies on their site, if tracer, even if coming from third parties. […]

Read More…

Create a site with Multi Language system

Here I am to show you a PHP script to be able to view your site in multiple languages. An alternative technique would be the “splitting of the site” on two separate folders of files (which can become too many to manage) at the expense of a fundamental point of […]

Read More…