Sea
Member
|
Sorry, I'm doing this from mind as practice, if anything's wrong please PM or post ^^ this is a secure login (secure meaning that you have to approve each username and password) (I'm gonna need some help doing the login html/php code .__. this teaches you how to register only) Requirements: Some HTML software (notepad, Dreamweaver, etc) A MySql database (byethost.com give you 50) Step 1 making the tables. **Note MySql is NOT case sensitive You will already need to have made your database (made the name and password for it) Find the SQL button and type this CREATE TABLE users ( username varchar(255), password varchar(255), email varchar(255) ) That means it will create a table name "users" with an directory for Username, Password, and Email. This is where you will be able to view everyone's Info Step 2 HTML Create a page on your site (should be same site that hosts the mySql) And create a new HTML file Type this <form name="Register">Username:<input type="text" name="Username" value="" /><br /> Password:<input type="password" name="Password" value="" /><br /> Email:<input type="text" name="Email" value="yourname@yourdomain.com" /><br /> <input type="Submit" name="Submit" value="Register" method="mailto:Changeme@Yourdomain.com" /><br /> Change the Changeme@Yourdomain.com! That means that when they click Register it will mail you the information. Step 3 Adding information when you get an email with the information, you can go to your Database and click the insert in the 'users' table. then enter the information you received in the email. thanks, hope you like it :) (Sorry if it's crappy )
< Message edited by Sea -- 3/2/2010 8:54:05 >
|