Warning: session_start(): open_basedir restriction in effect.
This is an issue that occurred when I attempted to run a PHP web application on a Windows IIS server.
Read More...This is an issue that occurred when I attempted to run a PHP web application on a Windows IIS server.
Read More...This is a tutorial on how to save PHP objects to a MySQL database. This method will also work with other DBMS systems such as SQL Server and PostgreSQL.
Read More...This is a tutorial on how to store a PHP array in a session variable.
Read More...This is probably one of the most common PHP errors.
Read More...This PHP tutorial will show you how to empty a MySQL table using the PDO object.
Read More...This is a tutorial on how to retrieve a list of MySQL tables using PHP and the PDO object.
Read More...This is a simple tutorial on how to write comments in PHP.
Read More...PHP will display the “invalid argument” warning if your code attempts to loop over a variable that is not an array.
Read More...This is a PHP tutorial on how to create directories and sub-directories that are based on the current date.
Read More...This is a quick PHP tutorial on how to create a folder or directory if it doesn’t already exist.
Read More...In this guide, we will show you how to detect the HTTP request type using PHP. This is useful if you want to restrict URLs to POST, GET, etc.
Read More...In this guide, we will show you how to use transactions with PHP’s PDO object.
Read More...A tutorial on how to generate random PIN codes with PHP.
Read More...A tutorial on how to login to websites with cURL and PHP.
Read More...In this tutorial, we will show you how to calculate VAT with PHP. We will also show you how to get the VAT rate from a gross price.
Read More...A short guide to looping through dates in PHP.
Read More...Measure the execution time of an SQL query in PHP.
Read More...An up-to-date tutorial on how to properly deal with passwords in PHP.
Read More...This is a small cheat sheet for PHP’s strtotime function, which can be used to convert textual sentences such as “next Friday” into UNIX timestamps.
Read More...Convert a YYYY-MM-DD date into a DD-MM-YYYY date in PHP.
Read More...A short guide on how to get the last character of a string in PHP.
Read More...In this guide, we show you how to write a simple PHP solution for the FizzBuzz game.
Read More...This tutorial will show you how to get the structure of a MySQL table using PHP’s PDO object.
Read More...In this PHP tutorial, we are going to show you how to prevent Cross-site Request Forgery (CSRF) attacks.
Read More...A PHP function that implements the Haversine Formula.
Read More...An introduction to scalar type hints in PHP 7.
Read More...In this tutorial, we will show you how to measure the execution time of a PHP script using the microtime function.
Read More...A short guide on how to generate a secure and random token with PHP.
Read More...Get the first character in a string with PHP.
Read More...How to get the last element or key in an associative array.
Read More...A small guide on how to calculate the percentage of a number in PHP.
Read More...Calculate a person’s age using PHP.
Read More...A tutorial on how to create an Ajax form that submits data to a PHP script.
Read More...A small tutorial on how to increase or decrease a number by a given percentage in PHP.
Read More...A quick guide on how to calculate the percentage difference between two numbers in PHP.
Read More...