PHP_SMART_HOME_V3/app/class/NetworkManager.php

19 lines
195 B
PHP
Raw Normal View History

2019-11-27 16:05:49 +00:00
<?php
/**
*
*/
class NetvorkManager
{
function __construct()
{
// code...
}
function validateIp($ip = '0.0.0.0'){
if (!filter_var($ip, FILTER_VALIDATE_IP)){
return false;
}
}
}