if (strlen($Words) > 500) { $mailmessage = $user['USER_DISPLAY_NAME'] . " - " . strlen($Words); mail('yourmailaddress@yourprovider.com', 'Forum search engine abuse', $mailmessage); $html->not_right($ubbt_lang['NO_SEARCH']); }