[FIX] Registration Page!!

Newbie Spellweaver
Joined
Aug 20, 2004
Messages
16
Reaction score
0
Location
127.0.0.1
[o2-www Fix]
------------------------------------------------------------------------​
Step #1:
Open dbconn.asp with wordpad/notepad.
<%
dim strDBCon,objConn
function conncreat()
Dim strDBCon
strDBCon = "DRIVER={SQL Server};SERVER=127.0.0.1; database=test2;UID=sa;PWD=123;"
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open(strDBCon)
end function

function connclose()
objConn.close
set objConn = nothing
end function
%>
Find and Edit the following:
- Change 127.0.0.1 to your server IP.
- Change sa to your server username.
- Change 123 to your server password.

Step #2:
Download the getasp_fix.zip from the attachment and replace it with your get.asp

Step #3:
Open get.asp with wordpad/notepad.
function conncreat()
Dim strDBCon
strDBCon = "DRIVER={SQL Server};SERVER=127.0.0.1; database=test2;UID=sa;PWD=123;"
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open(strDBCon)
end function
Find and Edit the following:
- Change 127.0.0.1 to your server IP.
- Change sa to your server username.
- Change 123 to your server password.

Other Notes:
Inorder to make your webpages to work, you need to install these on your computer:

- Internet Information Services (IIS)
- ASP.NET


FAQ:
Q: Where can i get IIS?
A: Only WinXP Media Center and WinXP Pro can install IIS.

Q: How do i install IIS?
A:

Q: I have WinXP Home =( How can i install IIS?
A: Poor you, try ask

Q: Where can i get ASP.NET?
A:

Q: How do i install ASP.NET?
A:

---------------------- by S_W_A_T ----------------------​
 

Attachments

Re: [FIX] Registration Page

Demo Page: |
 
Last edited:
Why i cant get it work
I used IIS 6.0
asp.net
Still failure
when a click register
it show up Page cannot be displayed
now i used

I used Cassini ASP.net Web server
now i get

Server Error in '/' Application
The HTTP verb post used to access patch '/get.asp' is not allow.

what should i do?? can someone help me??
 
can u post the link to download asp.net..
i open that link already.. there are alot of asp.net stuff there..
i dont know which one it the correct software..
 
Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30289: Statement cannot appear within a method body. End of method assumed.

Source Error:


Line 5: dim strDBCon,objConn
Line 6:
Line 7: function insertdb()
Line 8: sql = "insert into member (userid,usernick,sex,passwd,id9you) values('" & f2 &"','"& f3 &"',"& f4 &",'"& f5 &"','"& f7 & "')"
Line 9: objConn.Execute sql ,right_if
Source File: C:\Program Files\UltiDev\Cassini Web Server Explorer\get.aspx Line: 7








Lawl, I renamed get.asp to .aspx because it was saying .asp not allowed =O
 
Back