mirror of
				https://github.com/xdtianyu/scripts.git
				synced 2025-11-04 09:26:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			151 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			151 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
    $api_key = "YOUR_DB_IP_KEY(https://db-ip.com/api/)";
 | 
						|
    require "dbip-client.class.php";
 | 
						|
 | 
						|
    $ip=$_SERVER["REMOTE_ADDR"];
 | 
						|
    echo $ip;
 | 
						|
?>
 |