|
|
|
|
°í±â / 2000-12-16 / ¿ÀÀü 11:17:33 / 203.232.69.199
Á¶È¸¼ö : 159
|
[Áú¹®] [Áú¹®] ȸ¿ø·Î±×ÀÎÁö ¿¡·¯ |
<%
id=request("id")
pwd=cstr(request("pwd"))
set objcon=server.createobject("adodb.connection")
objcon.open constring
sql="select pwd from member where id='"&id&"'"
set objrs=objcon.execute (sql)
if objrs.eof or objrs.bof then %>
<% else
if pwd <> objrs("pwd") then
'response.write objrs("pwd")&" "
'response.write pwd&" "
response.write ""
else
session("userid")=id
response.redirect "../body.asp"
end if
end if
¼Ò½ºÀÔ´Ï´Ù...ȸ¿ø·Î±×ÀÎÇϴµ¥ Æû¿¡¼ ÀÔ·ÂÇÑ pwd¿Í db¿¡¼°¡Á®¿Â objrs("pwd")°ªÀÌ ÀÏÄ¡Çϴµ¥ ¼Ò½º¿¡¼± ÀÏÄ¡ ¾ÈÇÑ´Ù°í ÇÕ´Ï´Ù.
´äº¯Á» ºÎŹµå¸³´Ï´Ù. |
|
|