For both sites (both using PHP 5.2.0-8+etch4):
magic_quotes_gpc = on
magic_quotes_runtime = off
magic_quotes_sybase = off
Local and master have the same settings for all of the above.
Here is the entirety of the quotes_stripper.inc.php file, pasted from Nano:
<?php
// this simulates magic_quotes_gpc = 0...
// Hope it works!
function & kill_magic_quotes(&$str) {
if(is_array($str)) {
while(list($key, $val) = each($str)) {
$str[$key] = kill_magic_quotes($val); // this basically loops into arrays...
}
} else {
$str = stripslashes($str); // get rid of those slashes!
}
return $str;
}
if(get_magic_quotes_gpc()) {
kill_magic_quotes($_GET);
kill_magic_quotes($_POST);
kill_magic_quotes($_COOKIE);
kill_magic_quotes($_REQUEST);
}
?>
This file seems identical in the 0.9.6 installation.
Andy