Skip to content

Tag Archives: PHP-basics

Use preg_quote() function in PHP to escape regex patterns before it is applied in run time. The preg_quote() function puts a backslash in front of… Read More
$_POST is an array of variable names. The program given below illustrates how to write HTML structure for multiple valued checkbox and to get the… Read More
Salting and hashing is a technique to store the password in a database. In cryptography, salting means to add some content along with the password… Read More
Search engine bots (sometimes called spiders or crawlers) are computer programs(bots) that crawl the web pages. In other words, they visit webpages, find links to… Read More
What is PHP ? PHP (Hypertext PreProcessor) is a general-purpose programming language developed by Rasmus Lerdorf in 1994 for web development. This is one of the… Read More
In PHP, Encryption and Decryption of a string is possible using one of the Cryptography Extensions called OpenSSL function for encrypt and decrypt. openssl_encrypt() Function:… Read More
In PHP, Notices are the undefined variables indicated in the PHP project on a set of lines or particular lines. It usually does not affect… Read More
In PHP, the complex data can not be transported or can not be stored. If you want to execute continuously a complex set of data… Read More
Codeignitor is one of the popular MVC framework of PHP. Most of the developers prefer to make their projects on Codeignitor because of it’s lightweight… Read More
Codeignitor is based on MVC design pattern. We will see how the controller, model, and view work and display the result to the user. Controller:… Read More
In PHP, the size of a floating values is platform-dependent. Due to internal representation of floating point numbers, there might be unexpected output while performing… Read More
PHP Filter is an extension that filters the data by either sanitizing or validating it. It plays a crucial role in security of a website,… Read More
The <php is used to identify the start of a PHP document. In PHP whenever it reads a PHP document, It looks for: <?php ?>… Read More
Enumeration (or enum) is mainly used to assign names to integral constants, the names make a program easy to read and maintain. In PHP, enumeration… Read More
Given a PHP class object and the task is to convert or cast this object into object of another class. Approach 1: Objects which are… Read More

Start Your Coding Journey Now!