How to Receive Email from HTML Form Using PHP (dev.to)
In this post, you will learn how to Receive Email from HTML Form Using PHP. What is PHP...
In this post, you will learn how to Receive Email from HTML Form Using PHP. What is PHP...
Developers like to use booleans as flags. They're a convenient way to indicate something as on/off, true/false, yes/no. But the problem is that booleans are not clear from calling code exactly what they do. For example: Does anyone in the calling scope have any idea what the defining scope is doing? Absolutely not. The flag
A blog about modern PHP, the web, and programming in general. Follow my newsletter and YouTube channel as well.
A few months ago, I stumbled upon a 24 years old buffer overflow in the glibc, the base library for linux programs. Despite being reachable in multiple well-known libraries or executables, it proved rarely exploitable — while it didn't provide much leeway, it required hard-to-achieve preconditions. Looking for targets lead...
It's easy to debug a single...
Apache Airflow is an open-source platform used for managing complex workflows. It allows users to...
Running PHP blazingly fast at the Edge with WebAssembly
Discover Primitive Obsession in code: recognize symptoms, understand implications, and learn effective fixes with value objects.
Annotated Container Without PHP Attributes
build php8.4's array_find, array_find_key, array_any and array_all from scratch
In my last post I talked about linking microservices together inside a single Docker network for easy communication between the services. For web developers, this poses an interesting problem: if we want to access the services from our local machines, we need to deal with the fact that we can't have multiple machines bound to
Four new array functions are likely coming to PHP 8.4 that are still in the RFC voting stage. Learn about these array_find functions and how they work.
Flag emojis are a fun and visual way to represent countries and regions. These emojis are part of the...
Licença Redis Recentemente, o Redis estava disponível sob a Licença Pública Geral Affero...
As PHP developers, we need to know a lot of language features to make our code easy to write and maintain. Without explicitly being told about a part of the language, it’s hard to even know it exists, so today, we’re going to discuss the magic methods our classes have and how we should use […]
Introduction Original Post:...
When reviewing a Pull Request that touched composer.json and composer.lock files you might notice...
When creating applications with PHP, Exceptions play a vital role in handling errors and irregularities that arise during the application lifecycle. We are going to see how to use Custom Exceptions to improve our applications.
Features, performance upgrades, and deprecations in PHP 8.4
How to fix the SQLSTATE[HY000] [1524] Plugin 'mysql_native_password' is not loaded errors caused in MySQL 8.4 no longer enabling the mysql_native_password plugin by default.
Tired of Boring and insecured Logins? Let's ditch the basic sign-up and sign-in systems and build a...
Software development often presents dilemmas, such as how to handle situations when a getter has nothing to return. In this article, we'll explore three strategies for implementing getters in PHP, which affect the structure and readability of code, each with its own specific advantages and…
Be it marketing or transactional emails, email address validation is a necessity, or you could risk...
Now you gonna put your code to do some push ups and pull ups, let's see how much your code can...
When using a Swiss knife, we think of a tool with many practical abilities. They're useful for different situations we might experience in the wild. Opening a box of milk? Here is a knife. Cutting wood to start a fire? Here is a chainsaw. Are the letters on the paint bucket too tiny? Try this magnifying class. Now, we apply the...