字符串的轉(zhuǎn)義
<?php
//字符串轉(zhuǎn)義
$str = "what's this?";
echo $str;???? //what's this?
echo "<br />";
echo addslashes($str);? //what\'s this?
?>
字符串的轉(zhuǎn)義有什么作用呢?
<?php
//字符串轉(zhuǎn)義
$str = "what's this?";
echo $str;???? //what's this?
echo "<br />";
echo addslashes($str);? //what\'s this?
?>
字符串的轉(zhuǎn)義有什么作用呢?
2015-11-08
舉報(bào)
2015-11-12
懂了,謝謝
2015-11-08
當(dāng)你把前臺(tái)的數(shù)據(jù)插入到數(shù)據(jù)庫(kù)的時(shí)候,你就需要進(jìn)行轉(zhuǎn)義?。》绞絪ql注入等