Server settings

i have the following script:


<html>
<head>
</head>
<body>
<?php
	
	$result = "";
	
	$result .= '<form method="post">';
		
		if(isset($_POST["title"]))
		{
			$result .= $_POST["title"];
			$result .= '<br />';
		}
		$result .= '<input type="text" name="title" value="' . $_POST["title"] . '" size="50" maxlength="85" />';
		$result .= '<br />';
		$result .= '<input type="submit" value="Submit" />';
	$result .= '</form>';
	
	print $result;

?>

</body>
</html>

all the script does is submit to itself what’s in the textbox and display it above the textbox and inside the textbox.

when i run this on my live server php escapes single quotes, double quotes and back slashes with a backslash:

for example if i submit a single quote i get: ’

if i submit a backslash i get: \

and so on.

however if i run this on my local server it does not escape like this. so how do i disable this escaping behavior on my live server?

thanks