PHP_SMART_HOME_V3/www/app/models/managers/NetworkManager.php
2020-05-15 22:45:31 +02:00

19 lines
195 B
PHP

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