Welcome Guest Search | Active Topics | Members

how do i create a login box so users can register? Options
poke
Posted: Saturday, October 29, 2005 2:28:09 PM
Rank: Newbie

Joined: 10/29/2005
Posts: 1
Location: United Kingdom
hi ive just got the hang of website making but i want to make users register just like you hae to on this site.
how do i do this.and if u know please post the code
Steviepunk
Posted: Saturday, October 29, 2005 2:47:00 PM

Rank: Admin

Joined: 8/26/2002
Posts: 3,467
Location: United Kingdom
First you would need to know what scripting language you are going to be using for it. Most places will offer one of PHP, ASP or ASP.NET. Each of them will have a slightly different way of handling it, however the basic theory is the same for each.

1. Create a HTML form for the user to enter their details for registration
2. create a script page for the form to submit to, this page should take the uses details and save them to a datasource (typically a database of some kind, such as Access or MySQL)
3. When the user then logs in (again use a HTML for to create the login box, and a script page that will check their username and password against the database), you will then need to set Session variables that will allow you to track that the user is logged in. Session variables are connected to the visitor and last long enough to that they remain valid for each page the user loads.

Alternatively, if you just want to have a forum, try downloading a prebuilt one from somewhere, www.snitz.com has a forum for ASP based hosting, while there are various ones available for PHP hosting.
undead
Posted: Saturday, October 29, 2005 6:12:19 PM

Rank: L3: Swoj-fan

Joined: 8/15/2003
Posts: 782
Location: United Kingdom
Yeah, but if you have free hosting you are screwed because you get no PHP and sometimes no CGI.
So ... unlucky.

Your best shot is to get a forum

PHPBB or invisionboard are pretty good.
rogem002
Posted: Sunday, October 30, 2005 1:52:42 PM

Rank: Martian Estate Agent

Joined: 9/14/2003
Posts: 3,358
Location: United Kingdom
Yeah, PHP us good, Invasion Board is lots better though.

Then again you could wait for PHPBB 3 to come out, its so much like Invasion board LOL.

You could use PHP Nuke to make a member website as well.

Or you could just make a simple login using the <form> tag.

Full On Design
undead
Posted: Monday, October 31, 2005 1:55:46 PM

Rank: L3: Swoj-fan

Joined: 8/15/2003
Posts: 782
Location: United Kingdom
It isn't that simple and it is hackable. And also you need to create a databse for it
Android
Posted: Friday, December 16, 2005 11:51:57 PM

Rank: L2: Experienced

Joined: 4/21/2004
Posts: 186
Location: South Africa
why not download a pre-made forum?
sk8termatt
Posted: Saturday, February 18, 2006 11:12:32 PM

Rank: L3: Swoj-fan

Joined: 9/13/2003
Posts: 580
Location: United Kingdom
php is good i tried to use it i might try again
really hard to coe though i think
html and flash is alot easier
rogem002
Posted: Sunday, February 19, 2006 2:17:24 PM

Rank: Martian Estate Agent

Joined: 9/14/2003
Posts: 3,358
Location: United Kingdom
I coded one in PHP using MySQL as the database if you want it i can send it 2 ya.

Full On Design
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.