Category: PHP

GET and POST Methods 0

GET and POST Methods

The client browser uses two methods to send information from the client to the webserver. These methods are GET and POST. However, before sending the information, the browser first encodes the information using the...

phpfilters 0

PHP Filters

PHP filters are used to validate and filter data coming from insecure sources, like user input. What is a PHP Filter? A PHP Filter is used to validate and filter data coming from insecure...

PHP Regular Expression 0

PHP Regular Expressions

In this tutorials we will about regular expressions in PHP and how a programmer can apply them in pattern matching. What is Regular Expression? They are popularly referred to as ‘regex’ or ‘RegExp’. Usually,...

phpfilesystem 0

PHP File System

This tutorial deals with the opening , closing, reading and writing of file. There are dedicated function for performing these operations in PHP. In order to open a file, fopen() can be used. Calling...

PHP include_once() and require_once() Function 0

PHP include_once() and require_once() Function

require_once() require_once() statement can be used to include a PHP file in another one, when you may need to include the called file more than once. If it is found that the file has already...

PHP include() and require() Function 0

PHP include() and require() Function

Content from one PHP file can be included into another PHP file before it gets executed at the server. in order to perform this operation, PHP provides two functions namely include() and require(). This...

phpdatenadtime 0

PHP Date and Time

The PHP date() function is used to format a date and/or a time. Syntax: Parameter Description format Required. Specifies the format of the timestamp timestamp Optional. Specifies a timestamp. Default is the current date...

how-to-change-date-format-in-php 1

How to change date format in PHP

In this tutorial we will learn how to chnage the date format in PHP. In this tutorial we will use strtotime() and date() funtion. The strtotime() funtion used to convert an English textual date-time...