mirror of
https://github.com/xdtianyu/scripts.git
synced 2025-08-08 21:53:27 +08:00
add geo ip
This commit is contained in:
7
ip/index2.php
Normal file
7
ip/index2.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
$api_key = "YOUR_DB_IP_KEY(https://db-ip.com/api/)";
|
||||
require "dbip-client.class.php";
|
||||
|
||||
$ip=$_SERVER["REMOTE_ADDR"];
|
||||
echo $ip;
|
||||
?>
|
Reference in New Issue
Block a user