PHP Register scrypt

Newbie Spellweaver
Joined
Jun 19, 2008
Messages
41
Reaction score
0
Hey guys i have one problem:

I need a php register scrypt ready with

ID

PW
Re-Typ PW

E-Mail
Re-Typ E-mail

secret code



Plz ,nowhere found and i cant do any php scrypts :(

Thank you for share

Thanks! DrOetker
 
Re: [help] PHP Register scrypt

exactly Bjorn, exactly but not only your server have this script. or what u will say with this^^ :P or "when u mean this i will share xD" or make us a tutorial for making PHP scripts xD with email and secret number xD

Please this one is very nice!

DrOetker
 
Upvote 0
Re: [help] PHP Register scrypt

I will try it thanks at first but you have one mroe open question for me^^PLEASE

I STILL NEED THIS BLUE MANA EFFECT XDDDDDDDDDDDDD

DrOetker
 
Upvote 0
Re: [help] PHP Register scrypt

You will also have to add more input fields to get the data, add the following to your registerform:

Code:
<input type="text" name="email" />
<input type="text" name="secnum" />

next you will have to get the values from your form into your php actions

PHP:
if($_SERVER['REQUEST_METHOD'] == 'POST') {
$email = $_POST['email'];
$secnum = $_POST['secnum'];
}

Look into your register script for something like this:

PHP:
$query = "INSERT INTO Login ([ID], [PWD], [Birth], [Type], [ExpTime]) VALUES('".$_POST["accname"]."', $cpass , '19190101', '0', '4000')";

This is the part where data gets inserted into your database, if you want more value's to add to your database you can do as follows:

PHP:
$query = "INSERT INTO Login ([ID], [PWD], [Birth], [Type], [ExpTime], [Email], [SecNumber]) VALUES('".$_POST["accname"]."', $cpass , '19190101', '0', '4000','".$email."', '".$secnum."')";

Then you will have to add the fields Email and SecNumber into your database.


TimmeY
 
Upvote 0
Re: [help] PHP Register scrypt

aah looks good thanks i will try and than post porblems or i have succesfully done :D

That's very nice thanks!

DrOetker
 
Last edited:
Upvote 0
Back