Get User’s Details in PHP.

Hey guys, so as we know that sometimes we need user’s details like IP Address, city, State, Country, And most importantly user’s timezone for displaying the date and time according to user’s location, So today i am going to show you how you can do that in PHP. (NO JAVASCRIPT AT ALL).
So there are many ways to do that but the easiest way to do that is using API. Now there are tons of API providers which provide API for this and I choose one called IpApi.co.