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..
php logo
Sending email with PHPMailer

In this section, we will see how to send emails using PHPMailer, a class described by its creators as a ‘full-featured email creation and transfer class for PHP.’ In the previous topic, we discussed PHP’s mail() function but did not address some of its limitations. These include encryption, authentication, HTML messages, and attachments. As we […]

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

Comments