As mentioned in
this thread, I have a bug in your Check4spam, which others on vb.com also have:
PHP Code:
Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/includes/functions_newpost.php(376) : eval()d code on line 24
Woostar mentioned:
Quote:
ahhhhhhhhh - I think I know why....
These lines:
PHP Code:
foreach ($allowedurls as $allowedurl) { $message = (preg_replace('/(\[url=?"?\]?)(https?\:\/\/)?(www\.)?' . $allowedurl . '\/?"?\]?(.*?)?\[\/url\]/i', '', $message)); }
Should be:
PHP Code:
foreach ($allowedurls as $allowedurl) { $allowedurl = str_replace('/', '\/', $allowedurl); $message = (preg_replace('/(\[url=?"?\]?)(https?\:\/\/)?(www\.)?' . $allowedurl . '\/?"?\]?(.*?)?\[\/url\]/i', '', $message)); }
Will have to have a proper look at the code.
|
Please update the file.
If you have E-Gold, then please let me know. I'd like to donate to you.