|
|
|
|
俵ÀÌ / 2000-05-04 / ¿ÀÈÄ 4:20:49 / 203.255.3.190
Á¶È¸¼ö : 153
|
[Áú¹®] µµ¿ÍÁÖ¼¼¿ä---±ä±Þ---Àú´Â Ãʺ¸)x |
> > > ´Ù¸§À̾ƴϿÀ¶ó
> > > »ç¿ëÀÚ ÀÔ·Â ID(4ÀÚ¸®)¿Í SQLDB ID(7ÀÚ¸®)
> > > SIZE°¡ Ʋ¸±°æ¿ì 󸮹æ¹ýÀ» ¾Ë·ÁÁÖ¼ÌÀ¸¸é ÇÔ´Ï´Ù
> > > Áï SIZE¸¦ ºÐÇÒ CHECK¹æ¹ý ¸»ÀÔ´Ï´Ù
> > >
> > >
> > -----------------------------------------------------------
> >
> > À½.... Áú¹®ÀÌ ¹ºÁö Àß ¸ð¸£°Ú³×¿ä...
> >
> > ID´Â 4ÀÚ¸®ÀÌ°í Å×ÀÌºí¿£ 7ÀÚ¸®·Î ÀâÇôÀִµ¥....
> >
> > ¹«½¼ °ÆÁ¤ÀÌÁÒ? Çѱ۵µ µé¾î°£´Ù¸é Á» Èûµé°ÚÁö¸¸...
> >
> > Å×À̺íÀÇ »çÀÌÁ Á» ´Ã¸®´Â°Ô Á¦ÀÏ ÁÁÀº ¹æ¹ýÀÌ°ÚÁÒ?
> >
> > ¾Æ´Ï¸é ÀÚ¹Ù ½ºÅ©¸³Æ®¿Í maxlength·Î ÀÔ·Â ¹Þ´Â ±æÀ̸¦ Á¦ÇÑ ÇÒ ¼ö µµ ÀÖ±¸¿ä...
> >
> > ÀÚ¹Ù½ºÅ©¸³Æ®·Î ÇÏ´Â°Ç ¼Ò½º¸¦ º¸½Ã¸é ³ª¿Í ÀÖ½À´Ï´Ù.
> >
> > Áú¹®¿¡´Â ¸Â´Â ´äÀº ¾Æ´Ñ°Í °°Áö¸¸.....
> >
> > ±×·³....
> >
> > p.s Ȥ½Ã ¹®ÀåÀ» ÀÚ¸£´Â ÇÔ¼ö¶ó¸é left, right, midµîÀÌ ÀÖ½À´Ï´Ù.
> >
> --------------------------------------------------
> < script language="VBScript" runat="server" >
> Function redirect()
> Response.Redirect "buy009o.asp"
> end function
> < /script >
> <%
> id = Request("id")
> If id="" Then
> session("msg") = "¾ÆÀ̵𿡠¾Æ¹«°Íµµ ÀûÁö ¾Ê¾Ò½À´Ï´Ù. ¾ÆÀ̵𸦠³Ö¾î ÁÖ¼¼¿ä."
> Redirect
> End If
>
> password = Request("password")
> If password="" Then
> session("msg") = "ºñ¹Ð¹øÈ£¿¡ ¾Æ¹«°Íµµ ÀûÁö ¾Ê¾Ò½À´Ï´Ù. ºñ¹Ð¹øÈ£¸¦ ³Ö¾î ÁÖ¼¼¿ä."
> Redirect
> End If
>
>
>
> Set Conn = Server.CreateObject("ADODB.Connection")
> Conn.Open ("DSN=ASP;UID=sa;PWD=;")
> sql = "SELECT * FROM member where id = '" & id & "' and passwd = '" & password & "' "
> ###### Áú¹® : table º¯¼ö id (7ÀÚ¸®), &id&(4ÀÚ¸®) ¾î¶»°Ô ºñ±³ÇÏÁÒ?
> Set Result = Conn.Execute(sql)
>
> if Result.eof then
> login="fail"
>
> end if
>
>
> %>
> < html >
> < head >
> < meta http-equiv="Content-Type" content="text/html; charset=euc-kr" >
> < title >·Î±×ÀΠȸé< /title >
> < /head >
> < body bgcolor="#FFFFFF" >
> <% If login="fail" then %>
> < center >
> < br >
> < br >
> < font size="5" color="#FF0000" >< b >°ø±ÞÀÚ ·Î±×¿Â ¿¬°á ½ÇÆÐ< /b >< /font >< p >
> < br >
> < br >
> < font size="3" >ÇöÀç < font color="#0000A0" >< b ><%=Request("id") %>< /b >< /font >´ÔÀº ID°¡
> Á¸ÀçÇÏÁö ¾Ê°Å³ª ºñ¹Ð¹øÈ£°¡ Ʋ¸³´Ï´Ù.< p >
> < a href="buy009o.asp" >¿©±â< /a >¸¦ ´©¸£¸é ¾Õ ȸéÀ¸·Î
> µ¹¾Æ°©´Ï´Ù. < /font > < p >
> < /center >
> <% else %>
> < center >
> < br >
> < h3 >< font color="#FF0000" >< b >»ç¿ëÀÚ ·Î±×¿Â ¿¬°á ¼º°ø< /b >< /font >< /h3 >
> < hr width="80%" >
> < br >
> < h3 >
> < TD >< font color="#0000FF" size=4 >
> <%= Result("name") %>(<%= Result("id") %>)´Ô< /font >< /td > KOSCO ÆǸŰü¸®¿¡ < br >
> ¿À½Å°É ȯ¿µ ÇÕ´Ï´Ù.
>
> < br >
> < hr width="80%" >
> < TD >< font color="#0000FF" size=4 >
> < a href="index.asp" >
> ¸ÞÀΠȸé< /a > ¶Ç´Â < a href="tmo055o.ASP?id=<%= Result("id") %>" >cock°ü¸® ȸéÀ¸·Î À̵¿ÇÕ´Ï´Ù< br >
> < /font >< /td >< /center >
> <% End If %>
> < p >< a href="http://www.infovice.co.kr/special/search.asp" >< img src="/icons/computer.gif" align="center" border="0" hspace="0" >< /p >
> < /body >
> < /htm l>
> < script language="VBScript" runat="server" >
> Function redirect()
> Response.Redirect "buy009o.asp"
> end function
> < /script >
>
>
> source ¸¦ º¸³»µå¸³´Ï´Ù
> Áß°£Á¤µµ¿¡ #####ÀÖ´Â ºÎºÐÀÌ Áú¹®ÀÔ´Ï´Ù
>
-----------------------------------------------------------
Á¦°¡ Áú¹®ÀÇ Àǵµ¸¦ Àß ÆľÇÇß´ÂÁö ¸ð¸£°Ú´Âµ¥¿ä...
tableÀÇ Ä®·³À½ 7ÀÚ¸®·Î µÇ¾î Àִµ¥...
½ÇÁ¦ ¾ÆÀ̵𰡠4ÀÚ¸®À϶§ select°¡ ¾È µÈ´Ù´Â ¸»¾¸Àΰ¡¿ä?
Å×À̺íÀÇ idÀÇ µ¥ÀÌŸÇüÀ» ¹»·Î ÀâÀ¸¼Ì³ª¿ä?
char(7) ÀÌ·¸°Ô µÇ¾î ÀÖ´Ü ¸»Àΰ¡¿ä?
¸¸¾à¿¡ charÇüÀ¸·Î Àâ¾Ò´Ù¸é ³ª¸ÓÁö 3Ä¿¡´Â °ø¹éÀÌ µé¾î°¡°Ô µË´Ï´Ù.
¸¸¾à¿¡ charÇüÀ¸·Î ÇÏÁö ¸»°í varcharÇüÀ¸·Î µÇ¾î ÀÖ´Ù¸é
¾Æ¹«·± ¹®Á¦°¡ ¾øÀ»°Í °°Àºµ¥¿ä....
varcharÇüÀÏ °æ¿ì´Â ³²´Â ºÎºÐÀ» ¾Ë¾Æ¼ ó¸®Çϴѱî¿ä...
Á¦°¡ ¸Â°Ô ´ë´äÇÏ´ÂÁö ¸ð¸£°Ú³×¿ä...
±×·³....
|
|
|
|