5 this strips all "\" from $_REQUEST and
6 disables the runtime garbaging as well
8 just include() it before ewiki.php
9 and everythink should work fine
12 for Apache+mod_php you should however rather use the
13 [.htaccess] PHP reconfiguration trick:
14 php_flag magic_quotes_gpc off
15 php_flag magic_quotes_runtime off
20 #-- this is very evil too
21 set_magic_quotes_runtime(0);
24 #-- strip \'s only if the variables garbaging is really enabled
25 if (get_magic_quotes_gpc()) {
27 $superglobals = array(
36 foreach ($superglobals as $AREA) {
38 foreach ($GLOBALS[$AREA] as $name => $value) {
40 if (!is_array($value)) {
41 $GLOBALS[$AREA][$name] = stripslashes($value);