Codice PHP:<form method="post">
<input type="hidden" name="test" value="l'albero" />
<input type="submit" />
</form>
<pre>
<?php
$test = isset($_POST['test']) ? $_POST['test'] : '';
var_dump(get_magic_quotes_gpc());
var_dump($test);
if (get_magic_quotes_gpc()) {
$test = stripslashes($test);
}
var_dump($test);
?>
</pre>

Rispondi quotando