+if (!function_exists('ctype_space')) {
+ /* ctype_space Check for whitespace character(s) */
+ function ctype_space($text) {
+ return!preg_match("/[^\s\r\n\t\f]/", $text);
+ }
+
+}
+if (!function_exists('ctype_alpha')) {
+ /* ctype_alpha Check for alphabetic character(s) */
+ function ctype_alpha($text) {
+ return preg_match("/[a-zA-Z]/", $text);
+ }
+
+}