Skip to content

Tag Archives: PHP-function

The str_contains() is a predefined function that is introduced with the release of PHP 8. The str_contains() function search for the substring in the given… Read More
The getlastmod() function is used to get the time of the last modification of the main script of execution. To show the last modification time… Read More
What is IPTC data? IPTC data is generally referred to as the metadata associated with an image file etc. It is the standardized metadata format… Read More
In this article, we will discuss how to create an Activate/Deactivate button using PHP. When a particular status is set, the same gets updated in… Read More
In this article, we will discuss the difference between var_dump() and print_r() function in PHP. var_dump() Function: The var_dump() function is used to dump information… Read More
In many scenarios, we may need to create a dropdown input that can display all the options consistent with the current state of the database.… Read More
In this article, we will see how to create a web application for tracking the Covid19 using PHP. Our Coivd19 Tracker app will give the… Read More
Yes, it is possible to set an infinite execution time for the PHP Script. We can do it by adding the set_time_limit() function at the… Read More
Constructors are special member functions for initial settings of newly created object instances from a class.  In PHP, a constructor is a method named __construct(),… Read More
We will use some file operations to read a large file line by line and display it. Read a file: We will read the file… Read More
The task is to create and design a sign-up and login form. In the sign-up form, the user will sign-up with a custom username and… Read More
In this article, we are going to discuss how to integrate Google reCAPTCHA v2 in PHP. Approach: Register your site at Google reCAPTCHA Submit HTML… Read More
In this article, we will learn how to generate PDF files from external text files with PHP by using FPDF. It is a free PHP… Read More
PHP introduced an alternative of switch-case in the release of the 8th version. In the release of the 8th version of PHP, the match() function… Read More
In this article, we will learn how to generate PDF files with PHP by using FPDF. It is a free PHP class that contains many… Read More