Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[RELEASE] Daniel's Regiser Page

Experienced Elementalist
Joined
Jul 11, 2008
Messages
281
Reaction score
1
Hey guys i was looking on the inernet to learn how to make a register page and i made my own WOOT ok here it is others may have similar ones because its a internet tut that basically explains everything


Reg Page Download :



I will be trying to work on other stuff but it takes time .. :D

Good luck with this if it dont work dont flame me im still learning tell me the errors and ill fix.
 
C# Developer
Joined
Jan 27, 2008
Messages
541
Reaction score
12
nice work. Works fine, and for the noobs that dont know how to install. On the line that says

$link=mysql_connect ("localhost", "YOURDBUSER", "YOURDBPASS") or die ('Error: ' . mysql_error());

Where YOURDBUSER and YOURDBPASS is usually "root" for user, and your pass is what u set it for mysql. (YOU MUST CHANGE FOR THIS TO WORK)
 
C# Developer
Joined
Jan 27, 2008
Messages
541
Reaction score
12
hah, well, if u need help learning php or somethin, let me know
 
Experienced Elementalist
Joined
Apr 7, 2008
Messages
229
Reaction score
0
stoled :))) man you release other guys work and you say is your :)) waaaa what an nuub
 
Experienced Elementalist
Joined
Apr 7, 2008
Messages
229
Reaction score
0
nah you stoll it :)))) i have an copy exactly like this :)) and from Rage
 
C# Developer
Joined
Jan 27, 2008
Messages
541
Reaction score
12
lol, daniel... see thats why ur pissing people off... u told me diff on msn... u said u got it off a "tutorial"
 
Skilled Illusionist
Joined
Jun 27, 2006
Messages
319
Reaction score
0
Steal this is my registration form... You where giving me tips on msn whilst i was making this. First he downloads a template and changes the banner and says he coded it now he releases my work. Ducking nooblet.


Used the same tutorial dude this is EXACTLY how i sent you it. Rofl you aint even edited 1 line
 
Experienced Elementalist
Joined
Apr 7, 2008
Messages
229
Reaction score
0
nah :)))) you just want to release and to be good here :) this is kinda boring :)
 
Experienced Elementalist
Joined
Apr 7, 2008
Messages
229
Reaction score
0
Steal this is my registration form... You where giving me tips on msn whilst i was making this. First he downloads a template and changes the banner and says he coded it now he releases my work. Ducking nooblet.

yup i use your reg form and when i was open is i was know is your in 2 seconds :))
 
C# Developer
Joined
Jan 27, 2008
Messages
541
Reaction score
12
haha wow... thats sad daniel...

I remember scott. I just was trying to find some good in this kid, not sure its possible.
 
Experienced Elementalist
Joined
Apr 7, 2008
Messages
229
Reaction score
0
Scoot Web form:
Code:
<html>
<head>
<title>Registration Page</title>
</head>
<center><b><u>ShadowCo</u></b><br />
Passwords will be automatically set on first login.</center><br />
<body>
<form method="post" action="index.php">

<center>Username: <input type="text" name="username" size="30" />
         <input type="submit" value="Complete Registration" name="Submit"/></center>
</form>
</body>
<center><br /> Visit our <a href="http://shadowco.ucoz.com">website</a>
<br /><br />Copyright 2008.</center><br /><br />

<center><b></b>Server Status:</b> <img src="http://status.blackout-gaming.net/status.php?dns=89.40.243.110&port=9958&style=1" alt="Status Checker Running" border="0"></center>
</html>

<?php
$link=mysql_connect ("localhost", "root", "") or die ('Error: ' . mysql_error());
mysql_select_db ("coproj");
$res = mysql_query("SELECT count(*) FROM accounts;");
$val = mysql_fetch_array($res);
echo "<br /><center>Total Accounts Created: ".$val[0]."</center>";

$res = mysql_query("SELECT count(*) FROM characters;");
$val = mysql_fetch_array($res);
echo "<center>Total Characters Created: ".$val[0]."</center>";

$username = $_POST['username'];

if(isset($_POST['Submit'])) {
if(!$_POST['username']) {
die('<center>You must fill in all of the fields!</center>');
}
$check = mysql_query("SELECT * FROM accounts WHERE AccountID = '$username'");
$check2 = mysql_num_rows($check);
if($check2 != '0') {
die("<center>Username: '".$username."' is in use!</center>");
}

mysql_query("INSERT INTO accounts (AccountID,LogonType) VALUES ('$username','2')"); 
die("<center>Username '".$username."' successfully registered!</center>"); }
?>

Daniel Web Form
Code:
<html>
<head>
<title>Registration Form</title>
</head>
<body>
<form method="post" action="register.php">

<center>Username: <input type="text" name="username" size="30" />
         <input type="submit" value="Complete Registration" name="Submit"/></center>
</form>
</body>
</html>

<?php
$link=mysql_connect ("localhost", "YOURDBUSER", "YOURDBPASS") or die ('Error: ' . mysql_error());
mysql_select_db ("coproj");//COPROJ is the database for lotf source

$username = $_POST['username'];

if(isset($_POST['Submit'])) {
if(!$_POST['username']) {
die('You must fill in all of the fields!');
}
$check = mysql_query("SELECT * FROM accounts WHERE AccountID = '$username'");
$check2 = mysql_num_rows($check);
if($check2 != '0') {
die("Username: '".$username."' is in use!");
}

mysql_query("INSERT INTO accounts (AccountID,LogonType) VALUES ('$username','2')"); 
die("Username '".$username."' successfully registered!"); }
?>

he just delete some lines to can say " hehe i'm goodo check my release" patetic
 
C# Developer
Joined
Jan 27, 2008
Messages
541
Reaction score
12
haha OWNED. if he followed a tutorial, it was a tutorial of example by Scott, and he just copied the tutorial exactly hah.
 
Skilled Illusionist
Joined
Jun 27, 2006
Messages
319
Reaction score
0
He didn't do anything, if you read other threads he asked me to create him one so i did and saved it as what you see in register.php. He edited nothing i even added the comment because i thought he would of been to stupid to understand.

I didn't give him the one i released because i didn't want to, So i made a simple button and textform,

Enough said Daniel's a pathetic Nub XD
 
Experienced Elementalist
Joined
Apr 7, 2008
Messages
229
Reaction score
0
Fatality :)))))))
Yup and new nuub on RageZone
 
Back
Top