Skip to main content

Build User Agent Lookup System using Userstack API with PHP

While designing a website, we need to know about the device or browser using user agent to provide great user interface. The user agent information is important and plays important role for any website. But we always struggle to get accurate user agent information.

If you’re running a website or working on to develop a website and wants to get details of user agent to make website user friendly. Then you’re here at the right place, you can easily integrate the Userstack API to get the accurate user agent details.

The Userstack API is a real-time, easy to use REST API that take user agent strings as input and output accurate user agent information like detect device, browser and operating system and also result response as JSON data.

In this tutorial you will learn how to consume Userstack API with PHP to get user agent information with example.

(more…)

Build IP Lookup Website using ipapi with PHP

Website visitors details plays an important role for any website to connect with their users to provide best user experience and services. Website owners always looking for its users details, but its not very easy to get complete details of website visitors as they belong from around the world.

So if you’re a website owner or developing a website and wants to get details of your website visitor details, then you’re here at the right place. In this tutorial you will learn how consume Ipapi with PHP to get ip address information.

(more…)

Build Weather Website with Weatherstack API using PHP

Weather is the information of atmosphere to describe the degree of a place. Weather information consists of detail about a location such as hot or cold, wet or dry, calm or stormy, clear or cloudy. The Weather information also includes weather forecasting to predict the conditions of atmosphere. The weather information are collected by Meteorological department.

There are many websites that displaying Weather information and we always checking these websites for current weather updates. But most of weather websites are slow and we started thinking to develop own website to display Weather information.

So if you’re thinking about developing your own Weather website then you’re here at the right place. In this tutorial, you will learn how to build your own Weather website using Weatherstack API using PHP.

(more…)

Export Data to CSV File with PHP and MySQL

Comma Separated Values (CSV) is a popular file format to store tabular data into plain text file. The each line of the CSV file is a data record and each record consists of one or more fields, separated by commas. The data stored in CSV file can easily be imported to and exported from application.

If you’re thinking about to implement data export to CSV with PHP, then you’re here at right place. As in our previous tutorial you have learned how to export data to excel with PHP. In this tutorial you will learn how to Export data to CSV File using PHP and MySQL.

We will cover this tutorial in easy steps to implement live example to export data to csv using PHP and MySQL

(more…)

Get Website Visitors Info using IPStack API with PHP

Gathering information of your website visitors is not an easy task when you have decent website traffic. The website visitors information is important for your business as it helps you to target your customer in a right way with details.

In this scenario you definitely looking for solutions to get your website visitors information. Don’t worry, it’s very easy. You can use ipstack API to get website visitor details using IP Address. The API offers a powerful, real-time IP Address to Geolocation API to get details quickly into JSON or XML format. The API result data includes Visitors locations,
currency, country and much more.

So in this tutorial, you will learn how to integrate ipstack API using PHP to get IP Address details.

(more…)

Build Push Notification System with PHP & MySQL

In our previous tutorial, we have explained how to develop School Management System with PHP & MySQL. In this tutorial, we will explain how to Build Push Notification System with PHP & MySQL.

Push Notification is the most used communication channel by web applications to stay in contact with their users. When we visit any website, we see a notification consent alert to allow or block notification. These alerts are created by websites to get consent to display notifications with latest updates, news etc. If we grant permissions to notification display then the notifications are pushed by website administrator to display to website users.

Currently, the push notification is the most demanding functionality that’s implemented in websites. So if you’re developing web application and need to implement push notification functionality then you’re here at right place. In our previous tutorial you learned how to implement product search filtering with PHP, In this tutorial you will learn how to create Push Notification System with PHP and MySQL.

(more…)