php logo
OOP – Magic Methods in PHP

In PHP, there is a group of methods called magic methods that can assist when an event occurs on the object. These methods are invoked without needing to be explicitly called by you, which is why they are referred to as magic methods. Most likely, you are familiar with two of these if you have […]

Leer mas..
php logo
PHP abstract classes

In this article, we will see what abstract classes are in PHP and then learn how to use them. ¿What is an abstract class? The following is a small excerpt from the book FUNDAMENTOS DE PROGRAMACIÓN by Luis Joyanes Aguilar. I believe he describes it much better in his book than I could with my […]

Leer mas..
php logo
Creating files in PHP

We will see how to create files in PHP in different ways. Below is a list of the content in this entry. Content: Intro In PHP, there are two ways to create files. The first is by opening and closing the file manually, like in many other programming languages, and the second is by using […]

Leer mas..
php logo
Uploading files in PHP

In this section, we’ll cover the topic of uploading a file to your server via PHP, and what considerations you should keep in mind to achieve it. Contents: Intro If there’s something we’ll inevitably cover, it’s file uploads to our server or another source where we can use them. In this section, we’ll see how […]

Leer mas..
php logo
PHP making directories with mkdir function

To create a directory in PHP, you use the mkdir() function, which can accept up to four parameters. The basic syntax is as follows: Syntax mkdir ( string $pathname [, int $mode = 0777 [, bool $recursive = FALSE [, resource $context ]]] ) : bool The content you provided explains the mkdir() function in […]

Leer mas..
la categoria en-php tiene 112 post/s
Last 4 post in same category

Comments