winlog/admin/con_ip.php
2016-09-22 14:24:56 +02:00

12 lines
205 B
PHP

<?php
header('Content-type: application/json; charset=utf-8');
include('connexions.php');
$ip = $_GET["ip"];
$con_ip = Con_ip($ip);
$tab = "";
if ($con_ip) {
$tab = json_encode($con_ip);
}
echo $tab;
?>