Section dedicated to content, courses, tutorials and books for learning and training in PHP programming language.
Sections

When working with different character encodings in PHP and Laravel, you might encounter errors on charset convertion like the following: iconv(): Wrong charset, conversion from 'UTF7-IMAP' to 'UTF-8//IGNORE' is not allowed
This error occurs when attempting to use the iconv() function to convert a string from the...

To work in a local development environment PHP provides an easy-to-use built-in web server.
The PHP built-in web server is a handy feature, but it is not an Apache nor Nginx web server. Therefore, features like Url friendly are not supported by default.
Today, it is common for web projects to have friendly URLs as a...

There are a few ways to locate php.ini
file by command line on Linux Ubuntu, Linux Mint, and other Linux distributions. Some of the options showed here are also compatible with Windows, specially usin WSL.
What is php.ini
The php.ini
file is the configuration file that is read when PHP starts up. For the server module...
A session is a way to store information (in variables) to be used across multiple HTTP Requests, to simulate a “state” across pages navigation.
Unlike a cookie, the information is not stored on the end users computer but in the application server.
For security reasons, sessions has a time limit to exist...