using vbulletin files :
chdir('/path/to/forum'); define('THIS_SCRIPT', 'login'); require_once( './global.php'); require_once( DIR . '/includes/functions_wysiwyg.php' ); echo convert_wysiwyg_html_to_bbcode('<i>hello world</i>');
using external function :
you can exclude an email address or even a host that is spamming you using the access file located in your etc directory, the bad news is that it does not support regex or even wildcards.
*Updated 11 Jan 2007 to include luazlib, fix lighty config file and add zlib decoding to cache.lua for older browsers
Since I read the documentations for mod_cml, I was very excited to use this module since caching using PHP running as FastCGI is not helping much during server peak load. However, mod_cml was replaced by mod_magnet which is more flexible and gives more control over request handling in Lighttpd. This Article will focus on caching your PHP scripts using Lua and mod_magnet under Lighttpd,