// stupid version check if (!isset($_REQUEST)) die('$_REQUEST[] not found. WackoWiki requires PHP 4.1.0 or higher!'); // workaround for the amazingly annoying magic quotes. function magicQuotesSuck(&$a) { if (is_array($a)) { foreach ($a as $k => $v) { if (is_array($v)) magicQuotesSuck($a[$k]); else $a[$k] = stripslashes($v); } } }