Category: PHP

WordPress symbol

GDPR: Some helpful documentation

It seems that I can help some readers with a library of information about GDPR, the new (in May 2018) European Regulation about Privacy and the handling Personal Data on web sites. It may appear as quite complex. So, I collected a list of those articles I found most interesting for a first reading/introduction (aimed at…

PHP changes

This is what I told myself when uncovering a little PHP code fragment that stopped working on one of my web sites. So, this is a reminder for those of you inattentive programmers like me: $DOCUMENT_ROOT = $HTTP_SERVER_VARS[‘DOCUMENT_ROOT’]; is deprecated and works no longer. You must now use the newest form: $DOCUMENT_ROOT = $_SERVER[‘DOCUMENT_ROOT’];. Be…

Script for 404 random page found

Some people have been wondering how I did the random selection of 404 page not found messages that are used on this web site. So, here is the nice little PHP script that I use here to redirect randomly to one of the right pages: <?PHP $address_list = array( “/404/404-01.php”, “/404/404-02.php”, “/404/404-03.php”, “/404/404-04.php”, “/404/404-05.php”, “/404/404-06.php”,…