How to Count The Number of Pages in a PDF file

How to Count The Number of Pages in a PDF file

In this tutorial, you will learn How to Count The Number of Pages in a PDF file. If you need to count the page in the PDF file before performing some tasks in the web application, then we have given the easy code below. We can count the number available page in the PDF file easily. Following the tutorial guide, you step by step to learn it and get the...
How to Partially Hide Phone in PHP?

How to Partially Hide Phone in PHP?

In this tutorial, we will show you how to hide or mask the mobile number using PHP. Most of the time we require to hide the partial details which we do not want to show the end-user. And among those details, the phone number is one, so it's basically functionally that we need to integrate into the web application as per requirement. Sometimes we need to hide or mask the...
How to use curl in PHP

How to use curl in PHP

In this article, we are going to see how to How to use curl in PHP. There are many ways to fetch and post the data on the webpage. Normally we pass the data on the webpage using form submission, internal functions, and APIs. But sometimes we need to send the data from one server to another server. In that case, PHP provides us cURL built-in PHP extension. cURL is an...
Remove multiple elements from an array in Javascript/jQuery

Remove multiple elements from an array in Javascript/jQuery

In this post, we will learn how to Remove multiple elements from an array using Javascript or jQuery give with an example. We can simply remove elements from an array using javascript. Below in the post, we have tried different methods to do the same. Let's suppose we have an array in which and we want to remove some particular element from the array without refreshing the page. In that...
How to check an array is multidimensional or not in PHP?

How to check an array is multidimensional or not in PHP?

Sometimes we need to check the array is multidimensional or not in the PHP. In this tutorial, we will learn different ways to check multidimensional array. In this tutorial, we will discuss and check if array is multidimensional or not in PHP. We will look at example of PHP check array is multidimensional. We would like to share with you how to check if array is multidimensional PHP. Let's suppose...
PHP Multidimensional Array Search by Key and Value with Examples

PHP Multidimensional Array Search by Key and Value with Examples

PHP search a multidimensional array (Search By key and Value). Here we will learn how to search in the multidimensional array for value and return key. Sometimes we need to search in an array or multidimensional array by key or value without using any function. This tutorial shows you, the fastest way to search in a multidimensional array. In this article, we would love to shows, how you can create...
How to access PHP variables in JavaScript or jQuery

How to access PHP variables in JavaScript or jQuery

Sometimes we need to access the PHP variables in javascript or jquery for the use in the application. In this article, let’s see how to pass data and variables from PHP to JavaScript. If you have a simple string value in PHP and you want to access that value in javascript or jquery then you have two options to do so. First, we can pass the data through cookies. In...
Compress Image Before Upload using PHP

Compress Image Before Upload using PHP

Large image size always takes time to load a web page. We always need to upload compress images to the server, If you want to load a large image without affecting the page load time, then the images on the page need to be optimized. When we make the web application we always have to make sure that the images should be well compressed so that it does not affect...