Avatar billede babyshark Nybegynder
12. april 2002 - 22:25 Der er 17 kommentarer og
1 løsning

den siger brugernavnet er optaget ligemeget hvad jeg skriver

<%elseif calltype = "badusername" then%>
<p><b>Ufff !!! &quot;<%=username%>&quot; er allerede brugt.</b></p>
<p><a href="java script:self.history.go(-1)">Prøv igen</a></p>

denne returneres lige meget hvilket brugernavn jeg skriver
Avatar billede Slettet bruger
12. april 2002 - 22:27 #1
vi skal nok lige se resten også
Avatar billede phr34k Nybegynder
12. april 2002 - 22:31 #2
det har en masse med din database og gøre!
Avatar billede Slettet bruger
12. april 2002 - 22:33 #3
>phr34k
Det var da ikke et svar...
Avatar billede babyshark Nybegynder
12. april 2002 - 22:50 #4
hvad vil du se?...signup formen eller den der skal åbne når det burde virke?
Avatar billede babyshark Nybegynder
12. april 2002 - 22:52 #5
<%
Response.Buffer = True
Set conntemp = Server.CreateObject("ADODB.Connection")
DSN = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & server.mappath("dbnavn.mdb")
conntemp.open DSN

mode = request("mode")

If mode = "new" then
Response.write "<form action=""default.asp?mode=new&functions=insert"" method=""post""><font face=""arial"" size=""2""><b>Brugernavn: </b><input type=""text"" size=""45"" name""username""><br><b>Kodeord: </B><input type=""password"" size=""45"" name""password"">"
</font>
End if

If mode = "new" and request("functions") = "insert" then
SQL = "INSERT INTO Brugere (Username, Password) values (´" & request("username") & "´, ´" & request("password") & "´)"
Set rs=conntemp.Execute(SQL)
Response.write "<font face=""arial"" size=""2""><b>Din profil er nu oprettet.</b></font>"
End if

conntemp.close
set conntemp=nothing
%>

*************************'
det var så den der fucker up:O)
Avatar billede Slettet bruger
12. april 2002 - 22:52 #6
formen og den side der kaldes når der klikkes på submit
Avatar billede babyshark Nybegynder
12. april 2002 - 22:53 #7
neeeeeeej..det var en helt 4......sorry..glem glem...den kommer her*GGGG*

<%
Option Explicit
Dim sql, biled,Icq,email,Age,By,FILENAME,rsUser,username,password,passwordconfirm,firstname,surname,seek,notfilled(9), calltype, profil,badflag,count,passwordLength,icon

'Assign form values to variables
username = Request.Form("username")

'Make sure they've not put any quotation marks in their username
If InStr(username,chr(34)) <> 0 or InStr(username,chr(39)) <> 0 then
    errorfunction("invalidchars")
end if

firstname = Request.Form("firstname")
surname = Request.Form("surname")
email = Request.Form("email")
Age = Request.Form("Age")
password = Request.Form("password")
passwordconfirm = Request.Form("passwordconfirm")
icon = Request.Form("icon")
biled = Request.Form("biled")
profil = Request.Form("profil")
By = Request.Form("By")
Icq = Request.Form("Icq")


'Check everything's been filled in, badflag determines whether error function is called
badflag = 0

'nofilled() is an array that will store the fields which are not filled in

if firstname = "" then
    notfilled(0) = "First Name"
    badflag = 1
end if
if surname = "" then
    notfilled(1) = "Surname"
    badflag = 1
end if
if email = "" then
    notfilled(2) = "Email"
    badflag = 1
end if
if username = "" then
    notfilled(3) = "Username"
    badflag = 1
end if
if password = "" then
    notfilled(4) = "Password"
    badflag = 1
end if
if Age = "" then
    notfilled(5) = "Age"
    badflag = 1
end if
if icon = "" then
    notfilled(7) = "Your choice of icon"
    badflag = 1
end if
if By = "" then
    notfilled(8) = "By"
    badflag = 1
end if
if badflag = 1 then
    signuperror()
end if

'Check password length is between 5 and 15 characters long
passwordLength = Len(password)
if passwordLength < 5 or passwordLength > 15 then
    errorfunction("length")
end if

'Check password and confirmed password are the same
if password <> passwordconfirm then
    errorfunction("confirm")
end if

'Open connection and insert user details into the database
%>
<!--#include file="conn.asp"-->
<%


UserUpdate()

Function UserUpdate()
On Error Resume Next

Set rsUser = Server.CreateObject("ADODB.Recordset")
rsUser.open "users", conn, 3, 3
rsUser.AddNew
rsUser("username") = username
rsUser("password") = password
rsUser("firstname") = firstname
rsUser("surname") = surname
rsUser("email") = email
rsUser("Age") = Age
rsUser("icon") = icon
rsUser("FILENAME")= biled
rsUser("profil")= profil
rsUser("Icq") = Icq
rsUser("By") = By
rsUser.Update

if Err.Number = -2147217887 then
    Err.clear
    errorfunction("badusername")
else
    'Set username cookie to sign them in now
    Response.Cookies("username") = username
%>
<HTML>
<HEAD>
  <TITLE></TITLE>



<style type="text/css">
<!--

    A:link {text-decoration: none;}
    A:visited {text-decoration: none;}
    A:hover {text-decoration: underline;}

-->
</style>

</HEAD>

<BODY BGCOLOR="FFFFFF" TEXT="000000" LINK="FF8000" VLINK="FF8000" Marginwidth=0 marginheight=0 leftmargin=0 topmargin=0>
<div align="center">
  <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
    <TR>
      <TD VALIGN=top height="486">&nbsp; </TD>
      <TD VALIGN=top height="486">
        <p align="center"><BR>
        <table align="center" border="0" width="85%">
          <td>
            <p align="center">
            <p><font face="arial,helvetica" size=2><b>Tak for det <%=firstname%>&nbsp;<%=surname%>
              </b></font></p>
            <p><font face="arial,helvetica" size=2><b>Du har brugernavn <%=username%>
              Og du er logget ind!</b></font></p>
            <p><a href="index.asp"><font face="arial,helvetica" size=2 color="black">Klik
              venligst her for at vende tilbage</font></a>
            <p> <font face="arial,helvetica" size=2> </font>
          </td>
        </table>
        <ul>
          <%
rsUser.close
set rsUser = nothing
conn.close
set conn = nothing
%>
          <%
end if
End Function%>
          <%
Function getbiled()
biled = Request.Form("biled")
username = Request.Form("username")
Select Case username
    Case username
        if biled = "test" then
            FILENAME = "no_image.jpg"
        else
            FILENAME = "no_image.jpg"
        end if
End Select
End Function
%>
          <%Function signuperror()%>
          <p><font face="arial,helvetica" size=2><b>UPS du mangler lige nogle
            ting :</b></font></p>
          <%for count = 0 to 7%>
          <%if notfilled(count) <> "" then%>
          <%=notfilled(count)%><font face="arial,helvetica" size=2><br>
          <%end if%>
          <%next%>
          </font>
          <p><font face="arial,helvetica" size=2><a href="java script:self.history.go(-1)">Prøv
            igen</a></font></p>
          <%Response.end
End Function%>
          <%Function errorfunction(calltype)%>
          <%if calltype = "confirm" then%>
          <p><font face="arial,helvetica" size=2><b>De to password passer ikke
            sammen</b></font></p>
          <p><font face="arial,helvetica" size=2><a href="java script:self.history.go(-1)">Prøv
            igen</a></font></p>
          <%Response.end%>
          <%elseif calltype = "length" then%>
          <p><b>Password skal være mellem 5 og 15 karakter i længde</b></p>
          <p><a href="java script:self.history.go(-1)">Prøv igen</a></p>
          <%Response.end%>
          <%elseif calltype = "invalidchars" then%>
          <p><b>Brugernavnet må ikke indeholde quotering</b></p>
          <p><a href="java script:self.history.go(-1)">Prøv igen</a></p>
          <p align="left">&nbsp;</p>
        </ul>
      </TD>
    </TR>
  </TABLE>
</div>
<p>&nbsp;</p>
</BODY>
</HTML>
<%Response.end%>
<%end if
End Function%>
Avatar billede babyshark Nybegynder
12. april 2002 - 22:54 #8
signup formen er her:

<%
Option Explicit
Dim username,newcount

username = Request.Cookies("username")
%>
<HTML>

<HEAD>
<TITLE>COBO - sign up!</TITLE>
<META name="description" content="">
<META name="keywords" content="">
<META name="robots" content="index, follow">
<META name="revisit" content="7 days">
<style type="text/css">
<!--

    A:link {text-decoration: none;}
    A:visited {text-decoration: none;}
    A:hover {text-decoration: underline;}

-->
</style>
<script language="JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
</HEAD>

<BODY BGCOLOR="#FFFFCC" TEXT="000000" LINK="FF8000" VLINK="FF8000" Marginwidth=0 marginheight=0 leftmargin=0 topmargin=0 background="cobobag.gif">
<div id="Layer1" style="position:absolute; width:105px; height:31px; z-index:1; left: 11px; top: 34px"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
    <param name=movie value="button1.swf">
    <param name=quality value=high>
    <param name="BASE" value=".">
    <param name="BGCOLOR" value="">
    <embed src="button1.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="">
    </embed>
  </object></div>
<div align="center"></div>
<div align="center"></div>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center">
  <TR>

    <TD VALIGN=top height="486">&nbsp; </TD>

    <TD VALIGN=top height="486">
      <p align="center"><BR>
      <table align="center" border="0" width="654">
        <tr>
                               
          <td width="648" height="581" style="border-color:black; border-top-style:none; border-right-style:none; border-bottom-style:none; border-left-style:none;">
            <p align="center" style="line-height:100%; margin-top:0; margin-bottom:0;"><font color="black">&nbsp;</font><p align="center"><font color="black"><%'See if they're actually already logged in
if username <> "" then%></font>

            <p><font face="arial,helvetica" size=2 color="black"><b>Du er allerede
              logget ind :O)</b></font></p>

            <p><font face="arial,helvetica" size=2 color="black">Hvis du vil registrere dig
              igen så </font><a href="signout.asp"><font face="arial,helvetica" size=2 color="black"><b>log
              ud her </b></font></a><font face="arial,helvetica" size=2 color="black">
              først.</font></p>

                        <font color="black"><%'Otherwise display the sign up form
else%></font>

<form name="signup" action="signupprocess.asp" method="post">
              <table width="497" cellpadding=2 cellspacing=0 align="center">
                <tr>
                  <td align="center" width="131"><font face="arial,helvetica" size=2 color="black"><b>Dit
                    navn</b></font></td>
                  <td align="center" width="358"><font color="black">
                    <input type="text" name="firstname" size=13>
                    </font></td>
                </tr>
                <tr>
                  <td align="center" width="131"><font face="arial,helvetica" size=2 color="black"><b>Efternavn</b></font></td>
                  <td align="center" width="358"><font color="black">
                    <input type="text" name="surname" size=13>
                    </font></td>
                </tr>
                <tr>
                  <td align="center" width="131"><font face="arial,helvetica" size=2 color="black"><b>Email</b></font></td>
                  <td align="center" width="358"><font color="black">
                    <input type="text" name="email" size=13>
                    </font></td>
                </tr>
                <tr>
                  <td align="center" width="131"><font face="arial,helvetica" size=2 color="black"><b>Alder</b></font></td>
                  <td align="center" width="358"><font face="arial,helvetica" size=2 color="black"><b>
                    <input type="text" name="Age" maxlength="2" size=2>
                    </b></font></td>
                </tr>
                <tr>
                  <td align="center" width="131"><b>B</b><font face="arial,helvetica" size=2 color="black"><b>rugernavn</b></font></td>
                  <td align="center" width="358"><font color="black">
                    <input type="text" name="username" size=20>
                    </font></td>
                </tr>
                <tr>
                  <td align="center" width="131"><font face="arial,helvetica" size=2 color="black"><b>Password</b></font></td>
                  <td align="center" width="358"><font color="black">
                    <input type="password" name="password" size=13>
                    </font></td>
                </tr>
                <tr>
                  <td align="center" width="131">
                    <p style="line-height:100%; margin-top:0; margin-bottom:0;"><font face="arial,helvetica" size=2 color="black"><b>
                      Password</b></font>
                    <p style="line-height:100%; margin-top:0; margin-bottom:0;"><font face="arial,helvetica" size=2 color="black"><b>Igen</b></font></p>
                  </td>
                  <td align="center" width="358"><font color="black">
                    <input type="password" name="passwordconfirm" size=13>
                    </font></td>
                </tr>
                <tr>
                  <td align="center" width="131" height="30">
                    <p><font color="black" size="2" face="Arial"><b><font face="Verdana">By</font></b></font></p>
                  </td>
                  <td align="center" width="358" height="30">
                    <p>
                      <input type="text" name="By">
                      <font color="black"> </font></p>
                  </td>
                </tr>
                <tr>
                  <td align="center" width="131">
                    <p><font color="black" size="2" face="Arial"><b>ICQ</b></font></p>
                  </td>
                  <td align="center" width="358">
                    <p><font color="black">
                      <input type="text" name="ICQ">
                      </font></p>
                  </td>
                </tr>
                <tr>
                  <td align="center" width="131" valign="top">
                    <p style="line-height:100%; margin-top:0; margin-bottom:0;"><b><font color="black" size="2" face="Arial">Profil
                      om </font></b></p>
                    <p style="line-height:100%; margin-top:0; margin-bottom:0;"><b><font color="black" size="2" face="Arial">dig!</font></b></p>
                  </td>
                  <td align="center" width="358">
                    <p><font color="black">
                      <textarea name="profil" rows="16" cols="39"></textarea>
                      </font></p>
                  </td>
                </tr>
                <tr>
                  <td align="center" colspan=2 width="493">
                    <hr color="#000000">
                  </td>
                </tr>
                <tr>
                  <td align="center" colspan=2 width="493"> <font face="Arial,helvetica" size="2" color="black"><b>Vælg
                    et ikon til din ID:</b></font><font color="black"><br>
                    </font><font color="black"><br>
                    <input type="hidden" name="biled" value="no_image.jpg" >
                    </font>
                    <table width="100%" cellpadding=2 cellspacing=0>
                      <tr>
                        <td align="center"><font color="black"><img src="icons/1.gif" onClick="document.signup.icon[0].checked=true"><br>
                          <input type="radio" name="icon" value="1">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/2.gif" onClick="document.signup.icon[1].checked=true"><br>
                          <input type="radio" name="icon" value="2">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/3.gif" onClick="document.signup.icon[2].checked=true"><br>
                          <input type="radio" name="icon" value="3">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/4.gif" onClick="document.signup.icon[3].checked=true"><br>
                          <input type="radio" name="icon" value="4">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/5.gif" onClick="document.signup.icon[4].checked=true"><br>
                          <input type="radio" name="icon" value="5">
                          </font></td>
                      </tr>
                      <tr>
                        <td align="center"><font color="black"><img src="icons/6.gif" onClick="document.signup.icon[5].checked=true"><br>
                          <input type="radio" name="icon" value="6">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/7.gif" onClick="document.signup.icon[6].checked=true"><br>
                          <input type="radio" name="icon" value="7">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/8.gif" onClick="document.signup.icon[7].checked=true"><br>
                          <input type="radio" name="icon" value="8">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/9.gif" onClick="document.signup.icon[8].checked=true"><br>
                          <input type="radio" name="icon" value="9">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/10.gif" onClick="document.signup.icon[9].checked=true"><br>
                          <input type="radio" name="icon" value="10">
                          </font></td>
                      </tr>
                      <tr>
                        <td align="center"><font color="black"><img src="icons/11.gif" onClick="document.signup.icon[10].checked=true"><br>
                          <input type="radio" name="icon" value="11">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/12.gif" onClick="document.signup.icon[11].checked=true"><br>
                          <input type="radio" name="icon" value="12">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/13.gif" onClick="document.signup.icon[12].checked=true"><br>
                          <input type="radio" name="icon" value="13">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/14.gif" onClick="document.signup.icon[13].checked=true"><br>
                          <input type="radio" name="icon" value="14">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/15.gif" onClick="document.signup.icon[14].checked=true"><br>
                          <input type="radio" name="icon" value="15">
                          </font></td>
                      </tr>
                      <tr>
                        <td align="center"><font color="black"><img src="icons/16.gif" onClick="document.signup.icon[15].checked=true"><br>
                          <input type="radio" name="icon" value="16">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/17.gif" onClick="document.signup.icon[16].checked=true"><br>
                          <input type="radio" name="icon" value="17">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/18.gif" onClick="document.signup.icon[17].checked=true"><br>
                          <input type="radio" name="icon" value="18">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/19.gif" onClick="document.signup.icon[18].checked=true"><br>
                          <input type="radio" name="icon" value="19">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/20.gif" onClick="document.signup.icon[19].checked=true"><br>
                          <input type="radio" name="icon" value="20">
                          </font></td>
                      </tr>
                      <tr>
                        <td align="center"><font color="black"><img src="icons/21.gif" onClick="document.signup.icon[20].checked=true"><br>
                          <input type="radio" name="icon" value="21">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/22.gif" onClick="document.signup.icon[21].checked=true"><br>
                          <input type="radio" name="icon" value="22">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/23.gif" onClick="document.signup.icon[22].checked=true"><br>
                          <input type="radio" name="icon" value="23">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/24.gif" onClick="document.signup.icon[23].checked=true"><br>
                          <input type="radio" name="icon" value="24">
                          </font></td>
                        <td align="center"><font color="black"><img src="icons/25.gif" onClick="document.signup.icon[24].checked=true"><br>
                          <input type="radio" name="icon" value="25">
                          </font></td>
                      </tr>
                    </table>
                  </td>
                </tr>
                <tr>
                  <td align="center" colspan=2 width="493">
                    <p><font color="black" face="Verdana">
                      <input type="submit" value="Sign Up">
                      </font></p>
                    <p><font color="black" face="Verdana">Ja jeg ved de er nasty
                      de her ikoner, men skaf mig nogle seje:o)</font></p>
                  </td>
                </tr>
              </table>

</form>

                        <font color="black"><%end if%></font>                                    </td>
                            </tr>
                        </table>

            <p align="left">&nbsp;</p>
</TD>
</TR>
</TABLE>



<p>&nbsp;</p>
</BODY>
</HTML>
Avatar billede Slettet bruger
12. april 2002 - 23:04 #9
Jeg er ikke helt med på denne:

if Err.Number = -2147217887 then
Avatar billede babyshark Nybegynder
12. april 2002 - 23:09 #10
ja du siger noget..er kørt helt fast i det..var der en Gud....
Avatar billede babyshark Nybegynder
12. april 2002 - 23:13 #11
her er linket til signupprocess...den der kommer efter signup...jeg ændrede lidt i den og nu logger den mig ind, men kommer med en masse gylle

http://www.bastiano.dk/dating/signupprocess.asp
Avatar billede Slettet bruger
12. april 2002 - 23:20 #12
Avatar billede Slettet bruger
12. april 2002 - 23:22 #13
Microsoft OLE DB Provider for ODBC Drivers error '80040e37'

[Microsoft][ODBC Microsoft Access Driver] Could not find output table 'icons'.

/dating/signupprocess.asp, line 10

Når man opretter bruger.
Avatar billede babyshark Nybegynder
12. april 2002 - 23:25 #14
ok nu kommer der kun tom side ved oprettelse

koden er:

<%
Option Explicit
Dim sql, biled,Icq,email,Age,By,FILENAME,rsUser,username,password,passwordconfirm,firstname,surname,seek,notfilled(9), calltype, profil,badflag,count,passwordLength,icon

'Assign form values to variables
username = Request.Form("username")

'Make sure they've not put any quotation marks in their username
If InStr(username,chr(34)) <> 0 or InStr(username,chr(39)) <> 0 then
    errorfunction("invalidchars")
end if

firstname = Request.Form("firstname")
surname = Request.Form("surname")
email = Request.Form("email")
Age = Request.Form("Age")
password = Request.Form("password")
passwordconfirm = Request.Form("passwordconfirm")
icon = Request.Form("icon")
biled = Request.Form("biled")
profil = Request.Form("profil")
By = Request.Form("By")
Icq = Request.Form("Icq")


'Check everything's been filled in, badflag determines whether error function is called
badflag = 0

'nofilled() is an array that will store the fields which are not filled in

if firstname = "" then
    notfilled(0) = "First Name"
    badflag = 1
end if
if surname = "" then
    notfilled(1) = "Surname"
    badflag = 1
end if
if email = "" then
    notfilled(2) = "Email"
    badflag = 1
end if
if username = "" then
    notfilled(3) = "Username"
    badflag = 1
end if
if password = "" then
    notfilled(4) = "Password"
    badflag = 1
end if
if Age = "" then
    notfilled(5) = "Age"
    badflag = 1
end if
if icon = "" then
    notfilled(7) = "Your choice of icon"
    badflag = 1
end if
if By = "" then
    notfilled(8) = "By"
    badflag = 1
end if
if badflag = 1 then
    signuperror()
end if

'Check password length is between 5 and 15 characters long
passwordLength = Len(password)
if passwordLength < 5 or passwordLength > 15 then
    errorfunction("length")
end if

'Check password and confirmed password are the same
if password <> passwordconfirm then
    errorfunction("confirm")
end if

'Open connection and insert user details into the database
%>
<!--#include file="conn.asp"-->
<%


UserUpdate()

Function UserUpdate()
On Error Resume Next

Set rsUser = Server.CreateObject("ADODB.Recordset")
rsUser.open "users", conn, 3, 3
rsUser.AddNew
rsUser("username") = username
rsUser("password") = password
rsUser("firstname") = firstname
rsUser("surname") = surname
rsUser("email") = email
rsUser("Age") = Age
rsUser("icon") = icon
rsUser("FILENAME")= biled
rsUser("profil")= profil
rsUser("Icq") = Icq
rsUser("By") = By
rsUser.Update

if Err.Number = -2147217887 then
    Err.clear
    errorfunction("badusername")
else
    'Set username cookie to sign them in now
    Response.Cookies("username") = username
%>
<HTML>
<HEAD>
  <TITLE></TITLE>



<style type="text/css">
<!--

    A:link {text-decoration: none;}
    A:visited {text-decoration: none;}
    A:hover {text-decoration: underline;}

-->
</style>

</HEAD>

<BODY BGCOLOR="FFFFFF" TEXT="000000" LINK="FF8000" VLINK="FF8000" Marginwidth=0 marginheight=0 leftmargin=0 topmargin=0 BACKGROUNd="bg.gif">



<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>

<TD VALIGN=top height="486">

<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR><TD><A HREF=""><IMG SRC="1.gif" border=0></A></TD></TR>
<TR><TD><A HREF="index.asp"><IMG SRC="2.gif" border=0></A></TD></TR>
<TR><TD height="21"><A HREF="profile.asp"><IMG SRC="3.gif" border=0></A></TD></TR>
<TR><TD><A HREF="userview.asp"><IMG SRC="4.gif" border=0></A></TD></TR>
<TR><TD><A HREF="inbox.asp"><IMG SRC="5.gif" border=0></A></TD></TR>
<TR><TD><A HREF="chat.asp"><IMG SRC="6.gif" border=0></A></TD></TR>
<TR><TD><A HREF="signout.asp"><IMG SRC="7.gif" border=0></A></TD></TR>
<TR><TD><A HREF=""><IMG SRC="8.gif" border=0></A></TD></TR>
<TR><TD><A HREF=""><IMG SRC="9.gif" border=0></A></TD></TR>
<TR><TD><A HREF=""><IMG SRC="10.gif" border=0></A></TD></TR>
<TR><TD><A HREF=""><IMG SRC="11.gif" border=0></A></TD></TR>
</TABLE>



</TD>

<TD VALIGN=top height="486">

<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 width="757">
<TR><TD colspan="2" width="757"><IMG SRC="top.gif" border=0></TD></TR>
<TR>
<TD width="467" background="spacer2.gif"><IMG SRC="middle1.gif" border=0></TD>
<TD width="290"><IMG SRC="middle2.gif" border=0></TD>
</TR>
<TR><TD colspan="2" width="757"><IMG SRC="bottom.gif" border=0></TD></TR>
</TABLE>
            <p align="center"><BR>                        <table align="center" border="0" width="85%">
                            <td>
                                    <p align="center"><p><font face="arial,helvetica" size=2><b>Tak for det  <%=firstname%>&nbsp;<%=surname%> </b></font></p>

  <p><font face="arial,helvetica" size=2><b>Du har brugernavn <%=username%> Og du er logget ind!</b></font></p>

  <p><a href="index.asp"><font face="arial,helvetica" size=2 color="black">Klik venligst her for at vende tilbage</font></a><p>

<font face="arial,helvetica" size=2>  </font>
  </td>

</table>

            <ul>
<%
rsUser.close
set rsUser = nothing
conn.close
set conn = nothing
%>
<%
end if
End Function%>
<%
Function getbiled()
biled = Request.Form("biled")
username = Request.Form("username")
Select Case username
    Case username
        if biled = "test" then
            FILENAME = "no_image.jpg"
        else
            FILENAME = "no_image.jpg"
        end if
End Select
End Function
%>


<%Function signuperror()%>


<p><font face="arial,helvetica" size=2><b>UPS du mangler lige nogle ting :</b></font></p>

<%for count = 0 to 7%>
    <%if notfilled(count) <> "" then%>
    <%=notfilled(count)%><font face="arial,helvetica" size=2><br>
    <%end if%>
<%next%>

</font><p><font face="arial,helvetica" size=2><a href="java script:self.history.go(-1)">Prøv igen</a></font></p>

<%Response.end
End Function%>


<%Function errorfunction(calltype)%>


<%if calltype = "confirm" then%>
<p><font face="arial,helvetica" size=2><b>De to password passer ikke sammen</b></font></p>
<p><font face="arial,helvetica" size=2><a href="java script:self.history.go(-1)">Prøv igen</a></font></p>

<%Response.end%>
<%elseif calltype = "length" then%>
<p><b>Password skal være mellem 5 og 15 karakter i længde</b></p>
<p><a href="java script:self.history.go(-1)">Prøv igen</a></p>

<%Response.end%>


<%elseif calltype = "invalidchars" then%>
<p><b>Brugernavnet må ikke indeholde quotering</b></p>
<p><a href="java script:self.history.go(-1)">Prøv igen</a></p>

            <p align="left">&nbsp;</p>
            </ul>
</TD>
</TR>
</TABLE>
<p>&nbsp;</p>
</BODY>
</HTML>
<%Response.end%>
<%end if
End Function%>
Avatar billede babyshark Nybegynder
12. april 2002 - 23:29 #15
hov..ændrede bare det lange tal du skrev til 1 og vupti:o)..tester det lige en gang
Avatar billede Slettet bruger
12. april 2002 - 23:31 #16
Det virker fint nu
Avatar billede babyshark Nybegynder
12. april 2002 - 23:34 #17
taaaaaak...du fik mig lige til at prøve det med error number..damn so easy...jeg har siddet og stirret mig blind på det, og ændret så meget at det gik i kage..men jeg lærte da noget:o)..Mange tak scgulze...god weekend til dig!
Avatar billede Slettet bruger
12. april 2002 - 23:35 #18
I lige måde.
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Kurser inden for grundlæggende programmering

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester