function check_strlen_long($txt) { $len=strlen($txt); $count=0; for ($i=0;$i<$len;$i++) { if (ord($txt[$i])<128) { $count=$count+1;} if (ord($txt[$i])==10 or ord($txt[$i])==32) {$count=0;} if ($count>=60) { $txt[$i]="n"; $count=0; } } return $txt; }
function encode ($txt) { $txt=strip_tags($txt); $txt=htmlspecialchars($txt); $message=StripSlashes($txt); return $message; }