Latest Tutorials

Date and Time functions in PHP

The Date and Time manipulation in PHP contains a wide variety of integrated functions. These functions are listed below. The list of Date and Time func...

Date and Time related predefined constants in PHP

Since PHP 5.1.1, the Date constants are defined to standardize the date representation which can be used along with the

Date and Time formats in PHP

The date and time formats may be parsed and manipulated with functions strtotime(), date_create(), etc... Thes...

Calendar functions in PHP

The Calendar manipulation in PHP (same as Date and Time manipulation...

Calendar related predefined constants in PHP

Same as Date and Time predefined constants, there are also those used for ca...

Forms handling in PHP

In general a form is a simple HTML element containing

Forms basic validation in PHP

Forms have to be validated in order to safely execute them and handle the values submitted. The best way of safely sanitize forms is by combining three technologies, that are: filt...

Forms email and URL validation in PHP

Probably one of the most frequent form field validations is whether a field is of a proper email or URL value. PHP uses built-in function to validate the URL and E...

General email handling with mail() function in PHP

As the name suggests, the function called mail() is used to send e-mails to the specified locations. The functionality of mail() is...

Introduction to files handling and manipulation in PHP

An important part of PHP is to handle and manipulate a file. It happens quite often when a file needs to be opened by an user, or the code, and it's content has to be manipulat...