diff options
author | Nick <nick@somerandomnick.ano> | 2011-05-11 05:49:51 +0000 |
---|---|---|
committer | Nick <nick@somerandomnick.ano> | 2011-05-11 05:49:51 +0000 |
commit | 5b153f4be7dc71f26ed93ada04b2017151754603 (patch) | |
tree | ce8bea7404c43fa34110fe822e781a88166df95f /doc/www.powerfulproxy.com | |
parent | f2cc5f0acce710f9a29baebae2634e3810e7dda9 (diff) | |
download | resdb-5b153f4be7dc71f26ed93ada04b2017151754603.tar.gz resdb-5b153f4be7dc71f26ed93ada04b2017151754603.zip |
bug fix in powerfulproxy
Diffstat (limited to 'doc/www.powerfulproxy.com')
-rw-r--r-- | doc/www.powerfulproxy.com/public_html/do_it.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/www.powerfulproxy.com/public_html/do_it.php b/doc/www.powerfulproxy.com/public_html/do_it.php index acbd235..39be1d7 100644 --- a/doc/www.powerfulproxy.com/public_html/do_it.php +++ b/doc/www.powerfulproxy.com/public_html/do_it.php @@ -10,7 +10,7 @@ array_shift($pall); $proto = array_shift($pall); $host = array_shift($pall); $hostparts = explode('.', $host); -if (ip2long(long2ip($host))===$host) { +if (long2ip(ip2long($host))===$host) { if ($hostparts[0]!='1') die('Bad IP'); } elseif (!preg_match("/ano|ntwrk$/",array_pop($hostparts))) die('Bad host'); $path = implode('/', $pall); |