PHP Tutorials - page 4
A collection of tutorials for learning PHP.
- Lean to find the common multiples between two numbers in PHP; the tutorial starts by teaching you about multiples, then moves on to common multiples.
- This tutorial shows how to check if a number is a decimal number using the PHP floor function.
- We can access other classes properties (variables) and methods (functions) by injecting the class object in the class that needs it.
- Should you use file_get_contnts or cURL when performing HTTP requests from PHP? It does not matter; but regardless of which you use, you should still handle errors properly!
- Learn what PHP objects are, and how to use them in your own PHP coding adventures.
- Why the caret character is not working in exponential growth calculations in PHP, and what to use instead.
- Vanilla PHP is basically plain PHP, without the use of extra frameworks and libraries to help you in the development process.
- This article explains why- and how to avoid the use of PHP superglobals such as $_POST and $_GET inside your PHP classes.
- How to install and use composer locally, without the need to write sudo all the time.
- How to install the GD library and use it to write text to an image.