PHP · 11 tutorials
Different ways to get an IP address in PHP with Cloudflare, internal proxy, and more
We will learn how to get the IP address in PHP even if our server is masked from Cloudflare, Nginx Proxy or not using any type…
DevCodeLight Light for your code
Topic 11 tutorials
All the PHP tutorials, from the newest to the oldest.
PHP · 11 tutorials
We will learn how to get the IP address in PHP even if our server is masked from Cloudflare, Nginx Proxy or not using any type…
PHP · 11 tutorials
Learn how to protect your PHP server from abuse, bots or brute-force attacks by limiting the number of requests per second from each IP address. The…
PHP · 11 tutorials
We will learn today how to create a link shortener for our back end using a simple PHP script. We will create our shortener, we can…
Docker · 77 tutorials
Today we’re going to learn how to create a handler to redirect PHP errors to the Linux or Docker console. The first thing we need to…
Google · 14 tutorials
In this example, we pass the obtained reCaptcha code through the JSON body and validate it. Replace SECRET_CODE with the secret code obtained when creating the…
Docker · 77 tutorials
Today we're going to learn how to create a handler to redirect PHP errors to the Linux or Docker console. The first thing we need to…
PHP · 11 tutorials
When developing web applications in PHP, it is essential to handle errors effectively to ensure a smooth user experience and to promptly notify system administrators of…
Codeigniter 3 · 4 tutorials
Reading time: 2 minutes Today I'm going to show you how to install the PDO pdo_mysql extension to use Codeigniter or RedBeans, etc... We have the…
PHP · 11 tutorials
Reading time: 4 minutes In this tutorial, I will show you how to implement JSON Web Tokens (JWT) in PHP. JWT is a secure and easy…
Docker · 77 tutorials
Reading time: 3 minutes Continuing the tutorial series on Creating a Docker Compose Container with Apache + PHP + MySQL (XAMP with Docker), I'm going to…