special chars filter sample
This commit is contained in:
parent
d427b4dcd8
commit
89852a70f0
|
|
@ -144,6 +144,14 @@ while (!feof($handle)) {
|
|||
continue;
|
||||
}
|
||||
|
||||
//@Note extract the ip address from line with special chars
|
||||
// if (preg_match('/^([0-9\.]+)/', $line, $m) != 1) {
|
||||
// continue;
|
||||
// }
|
||||
|
||||
// $line = $m[1];
|
||||
// print("ip: {$m[1]}\n");
|
||||
|
||||
try {
|
||||
$ipBytes = Util::parseIP($line);
|
||||
} catch (Exception $e) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue