Subversion Repositories uuid_mac_utils

Rev

Rev 2 | Rev 14 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 5
Line 12... Line 12...
12
 
12
 
13
<p><a href="index.php">Back</a></p>
13
<p><a href="index.php">Back</a></p>
14
 
14
 
15
<pre><?php
15
<pre><?php
16
 
16
 
17
include_once __DIR__ . '/includes/mac_utils.inc.phps';
17
include_once __DIR__ . '/includes/mac_utils.inc.php';
18
 
18
 
19
$mac = isset($_GET['mac']) ? trim($_GET['mac']) : '';
19
$mac = isset($_GET['mac']) ? trim($_GET['mac']) : '';
20
 
20
 
21
if (!mac_valid($mac)) {
21
if (!mac_valid($mac)) {
22
        echo 'This is not a valid MAC address.';
22
        echo 'This is not a valid MAC address.';