Category: PHP

  • GDPR: Some helpful documentation

    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…

  • How to comply with GDPR in WordPress

    How to comply with GDPR in WordPress

    I have several web sites wirtten with WordPress  and I needed to comply with the new GDPR European regulation (new in May 2018). After a few hours of work to find how to do this right… I decided to share my experience and show the steps I went through; not very difficult, but rather lenghty,…

  • PHP7 for WordPress

    PHP7 for WordPress

    My hosting company (OVH.com) is very cautious and does not push me into upgrading silently PHP on the servers. But I was still in PHP5 when I noticed that I could go up to PHP7. WordPress informs me that the simple upgrade could improve speed by a ratio of 2x to 3x. So, it was…

  • Test your web site load speed

    Test your web site load speed

    While working on improving the performance of my web sites, I have been using several tools in order to evaluate the performance of the site itself. Some are good, some are very good, some are overwhelmingly good. You cannot avoid mentioning the Google webmaster tools. They do a lot of things and contain a performance…

  • Graphs, charts for a web site

    Graphs, charts for a web site

    When you design a web site, it happens that you need to create graphs or technical charts. But this is quite difficult if you don’t spend a life drawing little charts or if you are not satisfied with the charts out of Excel (or OpenOffice Draw). For this, you need to have a good chart/graph…

  • WordPress transfer

    In the end, transfering a WordPress installation from one server to the next will not have been a simple task. As a matter of fact, moving the files, moving the database, seemed to be the easiest. But I could no longer upload images in WordPress. Here is what I had to do (and you may…

  • 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…

  • WordPress and moving from PHP4 to PHP5

    Some advice provided by Donncha for those who would like to move from PHP4 to PHP5 on a server supporting WordPress exploitation. Nothing big, but it is always good to check the items she points at: Location of PHP.INI Update to mysql and gd libraries Compatibility with WP-cache

  • 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”,…