// ÀÛ¼ºÀÚ : ÃÖ»ó¹Î // ¼öÁ¤ÀÏ : 2002³â 3¿ù 4ÀÏ // ÆÄÀϸí : commentDel.html // Åä´Þ±â »èÁ¦ include ("../common/dbConnect.php"); // Ä¿³Ø¼Ç Æ÷ÇÔ include("../common/common.php"); // °øÅëÇÔ¼ö Æ÷ÇÔ include ("./inc/header.html"); // Çì´õÆ÷ÇÔ if ($cNo == "") { echo ""; exit(); } if ($password != "") { $password = md5($password); $query = "select count(cNo) from bComment where cNo=$cNo and cPassword='$password'"; $result = $conn->runQuery($query); if (mysql_result($result, 0, 0) == 0) alert("ÆÐ½º¿öµå°¡ ÀÏÄ¡ÇÏÁö ¾Ê½À´Ï´Ù.", 1); else { $query = "delete from bComment where cNo=$cNo"; $conn->runQuery($query); echo ""; exit(); } } ?>