Well, $ips should have anchors so that it would not match part of an ip adress. It's not likely to make any difference in this case, but for example the regexp /66.39.54.27/ will match 166.39.52.27 too which may not be what you want.
Also, use strict "vars" is not likely to work with this code.
In reply to Re: Code Review of Visitor Logging Script
by ambrus
in thread Code Review of Visitor Logging Script
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |