字符串的轉(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
舉報
2015-11-12
懂了,謝謝
2015-11-08
當你把前臺的數(shù)據(jù)插入到數(shù)據(jù)庫的時候,你就需要進行轉(zhuǎn)義?。》绞絪ql注入等