This post focuses on how to handle time zones and daylight-saving time changes.
As a web developer, sooner or later you will need to deal with time zones. This is your chance to master this topic, so keep reading and feel free to ask any questions in the comments.
In this second part of the guide you will see the most important time related PHP functions and how to use them properly. You will also learn how to solve the leap seconds problem introduced in part 1 (with a complete example).
Without knowing the fundamental concepts related to time measurement it’s very easy to make mistakes. This guide starts from the beginning explaining how UTC was born and how it actually works, and then moving into the practical PHP programming techniques and functions and explaining how to use them properly.
In this post you will find a simple introduction to Sessions with some examples on how to use them, a more in depth analysis of the most important functions and some facts about security that you should be aware of.
PHP is often associated with HTML code generation, but it can also be used as a background application for handling and analysing data and for operations like database clean up, email and messages retrieval and statistical data analysis. How do these kind of scripts work and how do you make one?
Loop control structures are used all the time, so it is important not to make mistakes when using them. In today’s post I show you 6 facts that every PHP developer should know about foreach loops.
PHP has some different tools for dealing with XML files. In this post we will see how to create a new XML document from scratch using three different PHP extensions: SimpleXML, XMLWriter and DOM. Which one is best for you?