Before we get started with Get Client MAC or Physical And IP Address Using PHP, first, we have to know some general details about Mac and IP address of the system. What is a MAC address? MAC stands for Media Access Control and it is also known as the physical address. Which is associated with […]
PHP trim() Function With Multiple Examples
PHP trim() function is mainly used to trim or remove whitespace from the start and end of the string. We can also use it in various ways which we learn from this complete article. PHP trim() function is an inbuilt PHP function. There are also two types of trim function, rtrim removes whitespaces and other […]
How to Search and Replace Tag Value in XML File using PHP
To search and replace tag value in XML file using PHP, we use PHP string replace function str_replace(). This is a PHP built-in function which majorly used to replace a specific string with another string. Here PHP str_replace Function | Complete Guide you can learn complete guide with different examples. Complete Code to Search and […]
PHP str_replace Function | Complete Guide
In this tutorial, we learn PHP str_replace Function with help of multiple types of examples. How we can use the PHP str_replace function at the time of development. Here are some important points which we will discuss in this tutorial, Example of PHP string replace. How to use PHP str_replace with arrays. PHP str_replace to […]
PHP file_get_contents() Function With Example
In this tutorial, we learn how we can get the complete string from any URL or from any text file by using PHP file_get_contents() Function with using multiple examples. Introduction and Usage Mainly, the file_get_contents() Function is used to read strings from the entire file. This is a feasible way to read the complete file […]
Complete Concept of PHP in_array() Function
Introdcution PHP in_array() function is an inbuilt function in PHP. As the name suggests in_array() function means, this function checks user-defined element is available in the array or not. So, basically, if we define in_array function in technical language, then we can say “The PHP in_array function checks whether the given value exists in an […]
PHP password_hash, password_verify With Example
Introduction PHP password_hash is a built-in function that is majorly used to encrypt the password string. Encryption has c combination of random letters, numbers, and special characters. PHP password_hash() function can create a unique password hash using a strong hashing algorithm which is only one-way hashing or encryption. One-way hashing means, that generated password can […]
Convert URL to PDF And Print Using JavaScript
To do Convert External URL to PDF And Print Using JavaScript, we can use hidden <iframe>. Here we do a complete code example, where we will see how we can print an external URL as a PDF without opening it on the same page. At the web development sometimes we have to show some pages […]
How to Fetch Data From a Database in PHP Faster?
Fetch data from a database in PHP faster, in this article, we will use an example that shows how we can write an optimized database query. And also check how we can create a database structure which used to run DB queries faster. 5+ Steps to Fetch Data From a Database in PHP Faster Here […]