Posts from PHP

Ajaxify Weather Forecast PHP Script Source Code

Ajaxify Weather Forecast PHP Script Source Code

By Faruque Ahamed Mollick | December 6, 2017

Today in this article I am going to discuss and review a weather forecast PHP script. The script I am going to discuss will work completely in AJAX. AJAX is a special technique of using JavaScript which will load part of a web page without refreshing the whole page. Before getting this weather forecast script, […] Read More

How To Generate Random Password In PHP?

By Faruque Ahamed Mollick

Today in this post we are going to see how to generate a random password with PHP. You can see on lots of websites and web-based applications generating random passwords when a use.... Read More

How to validate phone number in PHP?

By Faruque Ahamed Mollick

Here in this post, we are going to see how to validate phone number in PHP. In many situations, web developers need to validate the phone number that is submitted through a form. .... Read More

Email validation in PHP using FILTER_VALIDATE_EMAIL

By Faruque Ahamed Mollick

Validating email on the server side is a secure way than validating it on the client side. If the email is validated just by using JavaScript then remember, JavaScript easily can .... Read More

Country information on clicking map – PHP script

Country information on clicking map – PHP script

By Faruque Ahamed Mollick | November 11, 2017

Here in this post, I am going to tell you about a PHP script. This is a script where a map will be shown on web page. After you click a country from the map, you will be redirected to a page where you will get several details about that specific country you clicked. Here […] Read More

Generate PDF from HTML template in PHP using Dompdf

By Faruque Ahamed Mollick

Here in this post, we are going to see how to generate the PDF from an HTML template. In brief, Dompdf is the HTML to PDF converter that is written in PHP and can be used by develo.... Read More

How to unzip or extract zip files in PHP?

By Faruque Ahamed Mollick

Today in this post, I am going to show you how to extract zip files in a specific directory path in PHP with the example code. PHP already has built-in class ZipArchive. To extrac.... Read More

Get the image size (height and width) in PHP

Get the image size (height and width) in PHP

By Faruque Ahamed Mollick | September 27, 2017

In this tutorial, I am going to tell you how to get the size of an image using PHP. The code snippets I am going to show you will retrieve the height and width of a given image file path. There is a PHP function already available which will let you know the size of […] Read More