Answer the question
In order to leave comments, you need to log in
How to make the script work on geoip only for a specific city?
How to fasten it so that the script works by geoip only for a specific city?
<?php
{
echo json_encode('<script language="JavaScript">
window.location.href = "http://site.ru/"
</script>');
}
Answer the question
In order to leave comments, you need to log in
Connect the library that has data on ip. write down the condition. If ip is so-and-so, then do that.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question