Procedural File: _functions_antispam.php
Source Location: /blogs/b2evocore/_functions_antispam.php
Page Details
Antispam handling functions
b2evolution - http://b2evolution.net/ Released under GNU GPL License - http://b2evolution.net/about/license.html
| Copyright: | (c)2003-2005 by Francois PLANQUE - http://fplanque.net/ |
| Filesource: | Source Code for this file |
Functions
antispam_check [line 78]
|
Check if a string contains abusive substrings
Note: Letting the database do the LIKE %% match is a little faster than doing in it PHP, not to mention the incredibly long overhead of preloading the list into PHP
Parameters:| $haystack: |
API Tags:
| Return: | balcklisted keyword found or false if no spam detected |
[ Top ]
antispam_create [line 19]
|
antispam_create(-)
Insert a new abuse string into DB
Parameters:| $abuse_string: | ||
| $aspm_source: |
[ Top ]
antiSpam_domain [line 125]
|
| mixed | $dispmax: | max length or false if we don't want to display |
[ Top ]
antispam_source [line 144]
antispam_update_source [line 45]
|
antispam_update_source(-)
Note: We search by string because we sometimes don't know the ID (e-g when download already in list/cache)
Parameters:| $aspm_string: | ||
| $aspm_source: |
[ Top ]
b2evonet_poll_abuse [line 213]
b2evonet_report_abuse [line 164]
|
| $abuse_string: | ||
| $display: |
[ Top ]
