[REQUEST]/[HELP]Simple reg page

02/16/2010 02:52 paralyzer2#1
I need help with a simple reg page all I want it to have is

Username:
Password:
Confrim Password:

But I cant code php that well yet no guides out-there are working could I have the text Red, BackGround Black and that it!
02/16/2010 02:58 Arcо#2
source?
02/19/2010 02:49 PeTe Ninja#3
Quote:
Originally Posted by paralyzer2 View Post
I need help with a simple reg page all I want it to have is

Username:
Password:
Confrim Password:

But I cant code php that well yet no guides out-there are working could I have the text Red, BackGround Black and that it!
Here you go...

a few things you need to edit...

all should be simple to understand..

Code:
$dbhost = "localhost";
$dbname = "coproj";
$dbuser = "root";
$dbpass = "1234";

this too

Code:
SELECT username FROM users WHERE username='$username'");
basically if your table is accounts change users to accounts if instead of username its accountid change the ones without ($) to accountid..

Code:
INSERT INTO users(username, password)
same there...

now if your hosting thing (say u using a dedicated server) has a mail port.. tell me and i can make it so people have to confirm through email before letting them login..

Code:
You have been successfully registered as new user! - Brought to you by Arco
dont change that..credits to arco.. because i said so..

ive used a few things from online..too damn lazy to do myself.. works though tested at my own domain ( not no ucoz site but a real .com site ) no i wont give u the site link lol...