Posts from PHP

Simple PHP Code To Check If URL Parameter Is Exist Or Not

By Faruque Ahamed Mollick

In web development, many times it is needed to take the value of URL parameter to process. Below is given an example of URL with value in parameter: https://domain.come/index.php?c.... Read More

Simple PHP code for file uploading process

By Faruque Ahamed Mollick

Using PHP it is very easy to making a file uploading system on the server. Today in this post, I am going to show you how to upload file on the server and keep that file in a speci.... Read More

How to start a PHP session, store and accessing Session data?

By Faruque Ahamed Mollick

What is PHP session? Session in PHP is a way of storing information or data inside variables to be used in multiple pages of a web application. You can compare PHP session with the.... Read More

How to check if a JSON Object is available or not in PHP

By Faruque Ahamed Mollick

In many times you may need to check if a JSON object property is available or not and depending on this you need to return some value, otherwise, you may get an error if the objec.... Read More

How to create JSON formatted text in PHP

By Faruque Ahamed Mollick

The common use of JSON is to interchange data. JSON or JavaScript Object Notation is a lightweight data-interchange format. The format of JSON is easy for both human being and ma.... Read More

PHP Class to Get Weather Data Using OpenWeatherMap API

By Faruque Ahamed Mollick

OpenWeatherMap is a popular weather data API provider from where you can get the weather data for current weather and also weather forecast data for a particular place or city or t.... Read More

How to get HTML form data in PHP variable?

By Faruque Ahamed Mollick

HTML form used to get input from users on web pages. In most of the times, it is necessary to take the form data in a PHP variable. Today in this post I am going to tell you how yo.... Read More

Read meta description and title tag of a web page using PHP

By Faruque Ahamed Mollick

Meta description and title tag are two important SEO parameter of any type of site. Every web page that needs to be rank better on search engines, must have meta description tag an.... Read More