diff --git a/Network/dhcp_detail.php b/Network/dhcp_detail.php new file mode 100644 index 0000000..f8d0bde --- /dev/null +++ b/Network/dhcp_detail.php @@ -0,0 +1,154 @@ +' . $xmlString; +} + +try { + $xml = new SimpleXMLElement($xmlString); +} catch (Exception $e) { + echo "Erreur de parsing XML : " . $e->getMessage(); + exit; +} + +$definitions = []; +foreach ($xml->xpath("//OptionDefinition") as $optDef) { + $definitions[(string)$optDef->OptionId] = (string)$optDef->Name; +} +?> + + +
+ + + + +| IP | MAC | Description | +|
|---|---|---|---|
| Name; ?> | +IPAddress; ?> | +ClientId; ?> |
+ Description; ?> | +
| Aucune réservation sur ce scope | |||
| + | + |
|---|---|
| + + + + | ++ |