PDA

View Full Version : Register


Ahmult
10-08-2005, 06:03 PM
If a user register in an online community, how can I get his information and store in Access? Any hints or tut on the internet ?

Freon22
10-08-2005, 10:41 PM
Why would you want to? If this online community is yours then you already have the information. And if not then you have no right to someone’s private information. If I did know how to I would not tell you, it looks like you want to build some type of a spaming system.

Ahmult
10-09-2005, 02:20 AM
????
If I want to build a online community, I need user to register first. Then I will get the info and save it to database. Isnt it?

On my last topics, I have already have login page. I am not coming here to be judged. I need help :( :(

Freon22
10-09-2005, 04:07 AM
Ok everyone here I am sure will help anyway we can. So what is it you want to do? Do you want to build a page where users can register and then login to your site? First show the code you have for the register page, also let us know if you are going to be using access, MySql, or SQL database to store the information. We can then go from there.

Also I am sorry if I got you wrong from your first post

If a user register in an online community, how can I get his information and store in Access?
But it sounded like you were looking for a way to get register information from other sites. So anyway start with the register page and what infor, you want the user to give. Also does the hosting site where you have your site support asp?

Ahmult
10-09-2005, 03:45 PM
Ngng ;)

I just start having this login code. I have this kind of problem
Error Type:
Microsoft JET Database Engine (0x80004005)
Operation must use an updateable query.
/mmgroup1/Tik/Login/registered.asp, line 28

This is the line 28 of registered.asp
conn.execute(myquery)


On the other hand, After having done with login page, what should I have to do with the database by sql?

Freon22
10-09-2005, 05:21 PM
Well you show us the error which is good but your not show us the code.
conn.execute(myquery) On this line your are calling your query statement, so without seeing that code we can only guess what the trouble can be. Its also best to show as much of your code as you can because with errors after you fix one then the next one will come up until there is no more errors left.

Anyway if all you want is a password area of your site here is a link. This guys gives you the login page, the code that you need to put at the top of each protected page, and even gives you a access database. Its a good code for someone that is just starting out.

http://www.webwizguide.com/

Go to ASP then look for "Password Login Page" he doesn't provide you with a edit page for changing users password or a register page so users can join your community. Until you can code these types of pages yourself you will have to add users names and passwords into the database yourself. Anyway check out his site take thing one step at a time.

And here is some good Tutorial site
http://www.w3schools.com/default.asp

Ahmult
10-11-2005, 02:17 AM
In fact, I thought w3cschools is really a good web. But I think it is pretty difficult to learn exactly what I will do to build a online community. They only teach u 1 or 2 line script of each function. For the newbie, it is good. But building a guest book or forum need a lot of script. I am always confused with how people build a forum if they just take reference with the online resources :)

Baleric
10-11-2005, 02:23 AM
i reccomend u start off by downloading a sample web site and then learning from that. it is prob the best way to learn for a beginner.

http://www.asp101.com/samples/login.asp

try that, and just search google.
google knows all!!

-baleric

Ahmult
10-15-2005, 04:18 PM
thank a lot. i learn so much from u guy and the websites :thumbsup: