We will use the MySQL function TIMESTAMPDIFF, the process is simple enough : we check the difference between the last time a user identified by its IP adress viewed our page and the current time, if the said difference is greater than a defined value, we increment the view.... Read More
Articles found : 105
search term: digital age
Loops are an important part of any programming language, they offer a way to repeat commands or instruction without repeating lines of code, the for loop comes in different styles in bash scripting... Read More
in this 3rd part of our series of tutorials about php programming language, now we are starting to fetch data from our database and we are getting closer to a functioning website.... Read More
For this tutorial, I assume that you have a basic knowledge of php and classes and objects, the programming language doesn't matter, for the principle of classes and object is the same. What will be the key point of this tutorial is to show you how to implement these abstract notions in a real life website using a real database.... Read More
Shell scripting is the language of Linux Command Line, it is the most used language under linux because you can assimilate and use all other languages in your scripts. you can use Python scripts, All the operating system programs and commands, you can even run php scripts right from your terminal or shell scripts.... Read More