PHP Basics

How to Get the Client User IP Address in PHP

August 13th, 2020
PHP code to get IP address using PHP for client users and includes discussion on privacy, GDPR.

PHP Namespace

September 5th, 2013
In the file system, we have directories or folders to keep related files. Similarly, PHP namespaces are used to have related code blocks of

foreach in PHP

August 20th, 2013
In PHP, foreach statement is used to iterate over a collection of data, like PHP arrays. As per the name of this construct, it will keep on

PHP If Else Statement

July 25th, 2013
If and Else statements are a kind of PHP conditional statements, since it applies one or more conditions upon a block of code, based on whic

PHP unlink() Vs unset()

July 14th, 2013
These two PHP functions are identical on performing some undo operations but differs in the type of data on which they are applied to perfor

PHP Delimiters

June 26th, 2013
PHP delimiters are nothing but the open close tags to enclose PHP script. PHP code can be parsed if and only if it is enclosed with these de

PHP Redirect

May 28th, 2013
PHP redirect mechanism is used to navigate the user from one page to another without clicking any hyperlinks. This will be helpful in such c

PHP Constants

April 26th, 2013
As like as many programming languages, PHP also contains constants. It has some predefined constants in its core like PHP_VERSION, PHP_DEBUG

PHP Loops

April 23rd, 2013
Loops are used to run the same lines of code for multiple times. If we want to execute same code multiple times then we can put it into a lo

PHP include() Vs require()

April 22nd, 2013
In this tutorial, we are going to see the list of functions used in PHP to include external file into a program. PHP provides various functi

↑ Back to Top