PHP Tutorials - page 4
A collection of tutorials for learning PHP.
- While there is no function to obtain the full request URL in PHP, we can still make our own using a combination of server variables to get what we need.
- 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.
- Beginners Tutorial in Object-oriented programming in PHP.
- How to install the GD library and use it to write text to an image.
- Using variable variables (dynamic variable names) in PHP.
- Default values have a tendency to make PHP choke up when using type hinting, but there is a way around the issue.