|
|
|
|
¼ÄÄ / 2000-05-26 / ¿ÀÈÄ 3:38:39 / 203.253.213.164
Á¶È¸¼ö : 174
|
[Áú¹®] ¼¼¼Ç ¿¡ ´ëÇÏ¿©...
|
¿Ã¸¸ÀÔ´Ï´Ù..
°ü¸®ÀÚ¸¸ ¾µ¼öÀÖ´Â ÆäÀÌÁö¸¦ ¸¸µé¾ú¾î¿ä..
±×·¡¼
admin.asp¿Í admin_ok.asp¸¦ ¸¸µé¾ú´Âµ¥..
<%
id = request("id")
pwd = request("pwd")
if id="seokom" and pwd="1111" then
session("id") = "admin"
%>
<a href="default.asp">µ¹¾Æ°¡±â</a>
<%
else
%>
<script language="javascript">
alert("·Î±×ÀÎ ½ÇÆÐ. È®ÀÎ ÈÄ ´Ù½Ã ·Î±×ÀÎÇØ Áֽʽÿä");
history.back();
</script>
<% end if %>
ÀÌ·¸°Ô ÇÏ°í...
°ü¸®ÀÚ¿ë ÆäÀÌÁö¿¡¼´Â
<% if session("id")="admin" then%>
°ü¸®ÀÚ¿¡°Ô ¸¸ º¸¿©Áú ³»¿ë...
<% else %>
<script language="javascript">
alert("Á˼ÛÇÕ´Ï´Ù.°ü¸®ÀÚ¸¸ ±ÛÀ» ¾µ¼ö ÀÖ½À´Ï´Ù");
history.back();
</script>
<% end if %>
ÀÌ·¸°Ô Çߴµ¥..
°è¼Ó ÀÎÁõÀÌ ¾ÈµÇ³×¿ä..
·Î±×ÀÎÀº Á¤»óÀûÀ¸·Î µÇ´Âµ¥..
session("id")¿¡ admin À̶ó´Â °ªÀÌ ¾Èµé¾î°¡´Â °Í °°¾Æ¿©..
¹«½¼ ¹®Á¦°¡ ÀÖÀ»±î¿ä..?
¼¼¼Ç¿¡ °üÇØ ¼³Á¤À» ÇØÁÖ¾î¾ß ÇÏ´Â ´Ù¸¥ ºÎºÐÀÌ ÀÖ¾¹´Ï±î...?
Á¦¹ß
|
|
|