stripslashes - ¿ª½½·¡½Ã()¹®ÀÚ¸¦ Á¦°Å |
|
|
 |
13³â Àü
|
(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>");
?>
|
|
̵̧ : 297 |
̵̧
¸ñ·Ï
|
|