Static ip generator :)

This commit is contained in:
JonatanRek
2019-11-27 17:05:49 +01:00
parent 9e6968bf6c
commit 7337e3c7d9
5 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
/**
*
*/
class NetvorkManager
{
function __construct()
{
// code...
}
function validateIp($ip = '0.0.0.0'){
if (!filter_var($ip, FILTER_VALIDATE_IP)){
return false;
}
}
}