PHP Tutorials - page 4

A collection of tutorials for learning PHP.

  1. 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.
  2. Learn what PHP objects are, and how to use them in your own PHP coding adventures.
  3. Why the caret character is not working in exponential growth calculations in PHP, and what to use instead.
  4. Vanilla PHP is basically plain PHP, without the use of extra frameworks and libraries to help you in the development process.
  5. This article explains why- and how to avoid the use of PHP superglobals such as $_POST and $_GET inside your PHP classes.
  6. How to install and use composer locally, without the need to write sudo all the time.
  7. Beginners Tutorial in Object-oriented programming in PHP.
  8. How to install the GD library and use it to write text to an image.
  9. Using variable variables (dynamic variable names) in PHP.
  10. Default values have a tendency to make PHP choke up when using type hinting, but there is a way around the issue.