code:
isinipsubnet("$answer")

is incorrect, just use the IsInSubnet call directly. And please don't use vars in strings (or quotes)!

[ 21. October 2003, 23:37: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.