양식에 데이터를 제출하면 다른 쪽 끝에서 "abcd"가 "abcd"로 변경됩니다.이 문제를 어떻게 극복 할 수 있습니까? (데이터를 보내기 위해 게시 방법 사용) ..... 도와주세요 ... 감사합니다.게시물 데이터 변경시 제출
0
A
답변
9
일반적으로 magic_quotes가 원인입니다.
<?php
if (get_magic_quotes_gpc()) {
function stripslashes_deep($value)
{
$value = is_array($value) ?
array_map('stripslashes_deep', $value) :
stripslashes($value);
return $value;
}
$_POST = array_map('stripslashes_deep', $_POST);
$_GET = array_map('stripslashes_deep', $_GET);
$_COOKIE = array_map('stripslashes_deep', $_COOKIE);
$_REQUEST = array_map('stripslashes_deep', $_REQUEST);
}
?>
유사
뭔가 그들을 전환해야합니다. 나는
http://us2.php.net/manual/en/security.magicquotes.disabling.php
0
아마도 Magic Quotes 일 것입니다. magic_quotes_gpc
(in a .htaccess file 또는 서버 구성 중 하나)을 비활성화하여 비활성화 할 수 있습니다.
고마워 ..... 문제가 해결되었습니다. – halocursed