Maybe the best advent calendar 2017

Hello together. The advent season started now and what shouldn’t be missing? Exactly, an advent calendar. Usually kids get this calendar, filled with sweets and candies. But sometimes also the big ones :-) This year I got also confronted with the subject ‘advent calendar’. The basic idea was to make a advent calendar. Fast the […]

What am I doing with Arduino and Raspberry Pi?

With my project to move into a camper I also want to include micro controller and micro computer with their minimalistic electricity consumtion. Read here my first experience with it.

[PHP] Normalization of strings – Upper and lower case

Hi, today again a small task to do in PHP. The following situation: We have a text-string in which is (obviously) a text. Lets say the content is: HERE you’ll get today CHEAP cucumber DIRECT from the farmer. We would like to change this string now like we want to change all words which consist […]

[PHP] Round numbers with PHP

Hi, today again a bit PHP. A small tip about handling with numbers in PHP. Or more explicit, round off numbers. PHP comes already with several functions to handle numbers. Four of them are number_format, ceil, floor and round. My personal favorite is  number_format. Why? Because this function does not just round, it is also […]

[PHP] Comments in PHP scripts

Hello together. Lets talk today about comments :) When you start coding a script then is it useful to comment your code. So a small documentation in the script. Because as long as you are working on the script and it is in a relative small size, then you know still which line of source […]

[PHP] Delete a file with PHP

Hi together, today I wand to answer the question how to delete a file with PHP. First of all we have to separate. Files on the web server or files on the local hard disk. First yes, second no. PHP doesn’t have access to files of the local file system of a visitor. No server […]

[PHP] How to add a line break in PHP

Hi, today I’ll like to talk about the subject line breaks with PHP. I guess this article will be not very long, because it’s done with a few lines of code. :)

Happy Programmers Day!

Hi, today a quick headline. But it doesn’t mean that it is not important! Because today is Programmers Day (The day for the programmers). :-) It is a very important holiday (unfortunately not an official one… I would love to have off today)! And who is asking himself now on which day this programmers day […]