File manager - Edit - /home/ronrob/.trash/on/ipRange.php
Back
<?php function ipInRange($ip) { $handle = fopen("australia.txt", "r"); if ($handle) { while (($line = fgets($handle)) !== false) { $pieces = explode("-", $line); $low_ip = $pieces[0]; $high_ip = $pieces[1]; if ($ip <= $high_ip && $low_ip <= $ip) { return true; } } fclose($handle); } else { } } ?>
| ver. 1.4 |
Github
|
.
| PHP 5.6.40 | Generation time: 0 |
proxy
|
phpinfo
|
Settings