08-31-2004, 01:23 AM
its just the principle of it. You encrypt passwords, thats just how it is.
url=http://www.copy-pasta.com]CopyPasta[/url] - FilePasta
PHP login system for AtosoftQB
|
08-31-2004, 01:23 AM
its just the principle of it. You encrypt passwords, thats just how it is.
url=http://www.copy-pasta.com]CopyPasta[/url] - FilePasta
08-31-2004, 01:59 AM
I have encrypted the password stuff now, using md5()
Oz~
08-31-2004, 05:40 PM
Good.
So does it work?
url=http://www.copy-pasta.com]CopyPasta[/url] - FilePasta
08-31-2004, 08:15 PM
here are teh feilds:
Code: $query="CREATE TABLE userdata (id INT(6) auto_increment,name VARCHAR(32) NOT NULL,password varchar(32) NOT NULL,email VARCHAR(64) NOT NULL,signature TEXT,posts INT,rank INT,PRIMARY KEY (id))"; and the register: Code: $query = "INSERT INTO userdata VALUES ('','$username','password','$email','$sig','$posts','$rank')"; still a bug in here sumwhere.....teh user&pass for teh database checks out... Oz~
08-31-2004, 09:54 PM
$query = "INSERT INTO userdata VALUES (
'', '$username', 'password', '$email', '$sig', '$posts', '$rank')"; Encrypt $password however you do it, Change password to $password, which will insert the encrypted $password into the password field of your table. You really ought to consider using complete INSERTS, eg. - $query = "INSERT INTO userdata SET username = '$username', password = '$password', email = '$email', signature = '$sig', posts = '$posts', rank = '$rank'"; This would make the table and its PHP easier to update and understand visually.
ammit potato!
08-31-2004, 10:07 PM
wowza!
thanks a million.....i'll use that format - does look easier.....im completely new to PHP, since last week, so i'd say im doing pretty well for nube Well, i'll fix all that, and get this thing running! Oz~
09-01-2004, 01:20 AM
hmmmm........not teh problem.......there is sumthing on line "17"
heres the full code: Code: <HTML> Oz~
09-01-2004, 01:38 AM
Looks like missing semicolons ";" after $ranks and $posts.
09-01-2004, 02:03 AM
It works!!!!!!!!
Woohooooooooooooooooooo! No one register, please....i have to do sume more things on my admin panel, now that i know how, and then, i'll open the site to the public BTW: www.atosoftqb.digitalblackie.com/members.php Oz~
09-01-2004, 07:38 AM
Quote:Looks like missing semicolons ";" after $ranks and $posts. THE HORROR
ammit potato!
|
« Next Oldest | Next Newest »
|