thnx to the rest too, esp cosmo, of course=))
as jeff said that php code is indeed horrible.
Yes.. That code is about as secure as a garden gate.