P
P
Parovo22014-05-29 20:42:44
Software testing
Parovo2, 2014-05-29 20:42:44

How can I test GeoIP operation on a local server?

Good afternoon.
How can I test Geoip on a local server?
The following actions are performed - I pull out the current ip, I look at the country, I pull out the previous country - if it does not match - add. authentication.
Works through a database with ip and countries.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stepan, 2014-05-29
@Parovo2

$_SERVER['REMOTE_ADDR']
It can be reassigned to any SP and transferred to the script.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question