 |
|
|  |
| stripslashes - 역슬래시()문자를 제거 |
|
|
 |
15년 전 |
(stripslashes 함수)
string stripslashes(string str);
// addslashes()함수를 통해서 처리된 문자에서 역슬래시()문자를
//제거하여 원 상태로 되돌린다.
<?
$comment = "안녕하세요? '허준'입니다!";
echo("addslashes()함수 호출전 : $comment<p>");
$comment = addslashes($comment);
echo("addslashes()함수 호출후 : $comment<p>");
$comment = stripslashes($comment);
echo("stripslashes()함수 호출후 : $comment<p>");
?>
|
|
추천 : 492 |
추천
목록
|
|
|  |
|