Examining variable types in PHP

September 15th, 20258839 In PHP, there are a range of built-in functions which you can call to check variable types. They return a Boolean value - true if the variable is of that type and...

Sanitizing input with PHP and JavaScript

September 15th, 2025191934 In PHP, there are a variety of ways in which you can sanitize the user input, depending on your needs. The htmlspecialchars function allows you to transform every...

Working with APIs in PHP

September 15th, 2025252145 Let us say that we want to use the OpenWeatherMap API to display the weather in an arbitrary city. We could achieve this in the following way
Page 3 of 512345