PHPMailer complete tutorial with examples: how to send emails with PHP (updated in 2018 with Composer installation)
Master PHPMailer with this complete and updated 2018 tutorial: installation and setup steps (including Composer), PHPMailer class functionalities, error handling and Gmail SMTP configuration, all with working code examples.
When you use strict comparison, two values are never considered equal if their types differ. Are there any cases where strict comparison is always required?
How to implement getter and setter functions (a standard oop paradigm) in PHP classes (with a short, commented example).
A quick and simple example on how to use PDO (the recommended database extension) to establish a database connection and send an SQL query.
The fopen() function is incredibly helpful: you can use it to read data from remote locations using different protocols.
If a PHP script is taking too much time to complete, you can isolate the piece of code responsible for the long execution time using time() and microtime().
The mktime() function returns the Unix Timestamp of a specific date-time, but it has another incredibly useful feature: it can perform date-time operations.
In some cases you need to keep access data unencrypted. What is the best way to keep this data as secure as possible?
The Debug Flag is an easy and elegant solution for when you need to manually debug a script changing some of the code for debugging purposes.
SQL injections are one of the most dangerous attacks against web applications. With this guide you will learn how to stay safe (using the “three essential steps” for security and prevention) and how to protect your PHP code.