PHP basename function

The basename() function returns the name of the last element in the given path. The suffix option allows us to remove any suffix it has.

read more
PHP pathinfo function

The pathinfo() function in PHP returns information about the path of a file or directory in the form of an associative array or a string, depending on the option chosen in $option.

read more
PHP chmod function

The chmod() function changes the mode of a file, but what does this mean? It means that we will be modifying the permissions of that file or directory.

read more
PHP DateInterval Class

PHP DateInterval Class represents an interval of time between two dates.

read more
PHP DateTimeZone Class

The DateTimeZone class is responsible for representing a timezone.

read more
PHP DateTime Class

DateTime is a class for representing both the date and the time.

read more
Creating and handling dates with PHP date

Next, we will see how to create and handling dates with PHP date function and how to format it to be displayed: Content: Introduction In PHP we can both create and format a date using the date() function. Its syntax is as follows: date ( string $format [, int $timestamp = time() ] ) : […]

read more
PHP using namespaces

What are namespaces? In their most widely accepted definition, namespaces are a way to encapsulate elements.

read more
Using file_get_contents() in PHP

The function file_get_contents is used to read a file into a string, and it returns [value]false[/value] if it fails

read more
Installing PHP modules in Apache on Linux

Today I was doing some updates on the server and realized that not much is said about this topic, so I decided to talk about how to install PHP modules on Linux.

read more

Comments