1

Topic: htmLawed in PHP 4.3

htmLawed uses PHP's ctype_digit function which is absent in PHP versions 4.4.1 and below. For using htmLawed in PHP 4.3, one of the following (none tested) can be done:

1. Replace 'ctype_digit' with 'is_numeric' in the htmLawed.php file, or

2. Add this code for the 'ctype_digit' functionality somewhere, such as in the htmLawed.php file, so that it gets included

if (!function_exists('ctype_digit')){
 function ctype_digit($var){
  return ((int) $var == $var);
 }
}