Subversion Repositories uuid_mac_utils

Rev

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

Rev 14 Rev 15
Line 23... Line 23...
23
$mac = isset($_GET['mac']) ? trim($_GET['mac']) : '';
23
$mac = isset($_GET['mac']) ? trim($_GET['mac']) : '';
24
 
24
 
25
if (!mac_valid($mac)) {
25
if (!mac_valid($mac)) {
26
        echo 'This is not a valid MAC address.';
26
        echo 'This is not a valid MAC address.';
27
} else {
27
} else {
28
        echo decode_mac($mac);
28
        decode_mac($mac);
29
}
29
}
30
 
30
 
31
?></pre>
31
?></pre>
32
 
32
 
33
</body>
33
</body>
34
 
34
 
35
</html>
35
</html>
36
 
-