Sa scriu un browser
Cod: Selectaţi tot
http://site-meu.do/ip.php?ip=xxx.xxx.xxx.xxx
Cod: Selectaţi tot
IP-ul tau este $ip (cel scris in brwoser)
Cod: Selectaţi tot
$ip = $_GET['ip'];
Cod: Selectaţi tot
$ip = $_SERVER['REMOTE_ADDR'];


thX
Cod: Selectaţi tot
http://site-meu.do/ip.php?ip=xxx.xxx.xxx.xxx
Cod: Selectaţi tot
IP-ul tau este $ip (cel scris in brwoser)
Cod: Selectaţi tot
$ip = $_GET['ip'];
Cod: Selectaţi tot
$ip = $_SERVER['REMOTE_ADDR'];
Cod: Selectaţi tot
if (isset($_GET['ip'])) {
$ip_url = $_GET['ip'];
}
$ip_user = $_SERVER['REMOTE_ADDR'];