Montag, 25 August 2025

Top 5 diese Woche

Ähnliche Tutorials

IP-Adresse + Geolocation

IP-Adresse + Geolocation

<?php
$ip = $_SERVER['REMOTE_ADDR'];
echo "Deine IP: $ip";

// API für GeoIP
$json = file_get_contents("http://ip-api.com/json/$ip");
$geo = json_decode($json, true);
echo " Land: " . $geo["country"];
?>
Vorheriges Tutorial
Nächstes Tutorial

Hier etwas für dich dabei?