Skip to content

Category Archives: PHP Programs

In this article, we will see how to generate a random password using the given string. We have given a string and the task is… Read More
In this article, we learn how to find the length of the string in PHP.  Approach: This task can be done by using the built-in… Read More
In this article, we are going to insert data into another table from the existing table using PHP. Requirements: XAMPP Webserver PHP stands for Hypertext… Read More
In this article, we are going to see how MySQL ROUND() function works in PHP. The MySQL ROUND() function is used to round a number… Read More
In this article, we are going to display data present in an XML file on a web page using PHP through the XAMPP server. PHP… Read More
In this article, we are going to store XML data into a CSV file using PHPH. XML stands for an extensible markup language. XML is… Read More
What is a MAC address?MAC is the abbreviation of “Media Access Control” and it is a 48-bit physical address associated with every networking device. It… Read More
The full form of PHP is a Hypertext preprocessor. It was developed by Rasmus Lerdorf. It is a programming language for developing dynamic web applications… Read More
PHP implements a way to reuse code called Traits. The trait_exists() function in PHP is an inbuilt function that is used to check whether a… Read More
The filemtime() function is an inbuilt function that returns the last modification of the file content. It returns as a UNIX timestamp of the last… Read More
In this article, we will learn how to get the current filename using PHP.   Input : c:/xampp/htdocs/project/home.php Output : project/home.php Input : c:/xampp/htdocs/project/abc.txt Output… Read More
The Microsoft Open Database Connectivity (ODBC) is a C application programming language interface. So the applications can access data from different database management systems.  The… Read More
The basic foundation of a data communication system for the internet is HTTP (Hypertext Transfer Protocol) which is an application layer protocol, distributive and collaborative,… Read More
It is very easy to get information about the last error that occurred in PHP using error_get_last() function. We can get very detailed information about… Read More
In this article, we are going to discuss how to get the file size using PHP. PHP is a general-purpose scripting language that is suited… Read More

Start Your Coding Journey Now!