Unclassified NewsBoard Code Reference

SpamRate function

Clean text from too many smilies, repeating characters...

function SpamRate (&$text);

Parameters:

text  –  in,out
(string) post content

Return value:

(int) calculated spam index, the higher the more junk

Implementation file: unb_lib/post.inc.php, line 290

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.