When VPN fails Use a “KillSwitch” to protected yourself

When VPN fails Use a “KillSwitch” to protected yourself

Using VPN is something of a must these days and if you really want to click ALL links and install everything that you want to test, is NOT advisable to do it from your working machine. So, I created a Virtual Machine(VM) for that job. BUT, I think I clicked TOO many...
PHP does not work after upgrading KUBUNTU 16.04 to 18.04

PHP does not work after upgrading KUBUNTU 16.04 to 18.04

After a little adventure with Virtualbox, which automatically turned some files from 5.1.xx to 5.2.xx, it was time to see what happened to the localhost…. Part of the PHP code appeared and of course did not work, at least completely. I first checked with the...
Tag UL Menu for DIVI Elegant themes WordPress

Tag UL Menu for DIVI Elegant themes WordPress

Here is how you can have a dynamic menu made out tag ul li inside DIVI Choice 1 Choice 2 Choice 3 Create 2 columns, one for the ul menu and one for image, slide show, or whatever you want to show/hide when clicking on the menu. Go at each image at the Advanced tab and...
Adding a WPML Language Switcher on the Menu

Adding a WPML Language Switcher on the Menu

You have to add the following snippet to functions.php file of your theme. The code was originally in this link but with the language code, like “en” for English, “gr” for Greece etc. The following code shows the language flag instead. function...
How to add / remove month(s) to a date in PHP

How to add / remove month(s) to a date in PHP

This is an easy function to add or remove months from a date in PHP. There is a limitation, you can only subtract up to 999 years, but you can change that by increasing the 12000 number in the code, to whatever you want to. function add_month($strbegin, $count) {...
Dial Up Modem and Caller ID in Greece

Dial Up Modem and Caller ID in Greece

Making an application that uses a dial-up modem is not only tricky because of the hardware-software connection, but also for finding the right hardware and setting it up properly. Be careful when you are buying a modem for caller id, make sure not only that it says...
PHP echo all post variables for debug

PHP echo all post variables for debug

You started your session, then you asked if it is a post request or not. Then you checked if that post variable isset() to start your code. Unfortunately the code never run and you have no idea what happened. Add the 2 lines in red in the following code to find out...
How to add / remove month(s) to a date in PHP

How to add / remove month(s) to a date in PHP

This is an easy function to add or remove months from a date in PHP. There is a limitation, you can only subtract up to 999 years, but you can change that by increasing the 12000 number in the code, to whatever you want to. function add_month($strbegin, $count) {...
Make a simple HTTP call with parameters using CURL

Make a simple HTTP call with parameters using CURL

Here is a simple code to make an HTTP call with the CURL library. The call is also passing 2 parameters and the line will looks like: http://somewebsite.com/web_server.php?param1=12345&param2=67890 This is also requires the installation of the curl library....
Where is VBoxGuestAdditions?

Where is VBoxGuestAdditions?

There’s a certain period of time that elapses between the need of downloading virtual box and of course it’s additions (VBoxGuestAdditions). AND each time it seems that I loose that bookmark of the beautiful download site of “sun” products....