|
|
|
|
俵ÀÌ / 2001-03-04 / ¿ÀÀü 10:53:12 / 203.255.3.190
Á¶È¸¼ö : 140
|
[Áú¹®] ÀᲿ´ë ¼³Ä¡Çߴµ¥¿ä? Æнº¿öµå ÀԷ¶õÀÌ |
> ¾È³çÇϼ¼¿ä?
> ÀᲿ´ë¸¦ ¼³Ä¡Çߴµ¥¿ä?
> Æнº¿öµå ÀԷ¶õÀÌ ¾È³ª¿À³×¿ä?
> ¹¹ ´Ù¸£°Ô ¼öÁ¤ÇØÁÙ°Ô ÀÖ³ª¿ä?
> -------------------------------
> ±×¸®±¸ ÀÌ ¹®Àå Çѹø¸¸ ºÎŹµå·Áµµ µÉ±î¿ä?
> ºñ¹Ð¹øÈ£°¡ µÎ°³Áß ¾Æ¹«²¨³ª µé¾î¿À¸é ·¹Äڵ带 »èÁ¦ ÇÒ·Á°í Çϴµ¥ ÀÌ·¸°Ô ÇÏ¸é ¹®ÀåÀÌ ¾ÈµÇ´Â°¡¿ä??
> ÀÚ²Ù¿¡·¯°¡ ³ª¼¿ä..<%
>
> set db=server.CreateObject("adodb.connection")
> db.Open ("MySiteDB")
>
> sql="select g_pwd from guest where board_idx = " & request("idx")
> set re=db.Execute(sql)
>
> if request("del") = re("g_pwd") or "donkeun" then
> sql = "delete from guest where board_idx =" & request("idx")
> db.Execute sql
> Response.Redirect "list.asp"
>
> else
> %>
> <script language="javascript">
> alert("Æнº¿öµå°¡ ÀÏÄ¡ÇÏÁö ¾È½À´Ï´Ù...");
> history.back();
> </script>
> <%end if%>
> °¨»çÇÕ´Ï´Ù.
>
>
-----------------------------------------------------------
¾Æ¸¶... ÀÚ·á½Ç¿¡ ÀÖ´Â ÀᲿ´ë´Â ¿¹Àü ¹öÀüÀÎ ¸ð¾çÀÔ´Ï´Ù... ^^;;
±×¸®°í ¾Æ·¡ ¼Ò½º´Â...
request("del") = re("g_pwd") or request("del") = "donkeun"
ÀÌ·¸°Ô ÇÏ½Ã¸é µË´Ï´Ù...
±×·³...
|
|
|
|