according to the "editor's note" on http://www.php.net/manual/en/ref.ctype.php ctypes should be prefered to regex, and some is_* functions. so, anyone know if therefore ctype_digit() should be used instead of is_int()? hwo about instead of preg_match('/^[0-9]+$/', $somevar) ? marko