My server runs php5.3, so magic quotes is deprecated.
So why, then, when I pass text containing an escape character from one page to another are backslashes added?
//page 1
<form id="form1" method="post" action="page2.php">
Enter text here
<input type="text" name="text" id="text" />
<input type="submit" name="button" id="button" value="Submit" />
</form>
//enter text (including quotes) "hello" and submit
//page 2
<?
$text = $_POST["text"];
echo "Text entered: $text";
?>
//result:
Text entered: \"hello\"