1
Well my question is this::
I have a PHP file, where I get the IP of the user however, I wanted to check which country is this user and insert in the database.
How can I verify from which country is that particular IP?
Thank you.
1
Well my question is this::
I have a PHP file, where I get the IP of the user however, I wanted to check which country is this user and insert in the database.
How can I verify from which country is that particular IP?
Thank you.
Browser other questions tagged php
You are not signed in. Login or sign up in order to post.
I wanted a concrete example, on the PHP site I don’t have.
– Gonçalo
The concrete example depends on which IP database solution you will adopt. Almost all use normal HTTP requests, some JSON, and these requests have several examples on the site (although they are not specifically localization, the logic is identical). Take a look at the solutions of the indicated question, that most of them have examples of how to use on the sites themselves.
– Bacco