PHP in_array function

The PHP function in_array is responsible for checking if a given value exists in any of the elements of an array.

read more
PHP Cookies

Cookies are a mechanism for storing data in the remote browser to monitor or identify users who return to the website. This is precisely the definition given to us on php.net.

read more
PHP chgrp function

Today we will see what the PHP function chgrp does. In this post, we will deviate a little from what is given on php.net. Why? This is because PHP, in many of its naming conventions, draws from those of Linux, and I believe that a better explanation is to talk about both.

read more
PHP dirname function

The dirname() function allows us to obtain the path of parent directories based on the specified path and level.

read more
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