I would change your if $item = $find to something like:
if instr($item,"10.10.12.23")

then, this line:
$Data = ReadValue($KEY,$VALUE)

should inside the for-loop and should actually read:
$item = ReadValue($KEY,$VALUE)
_________________________
!

download KiXnet