Welcome!

Join our community of MMORPG enthusiasts and private server developers! By registering, you'll gain access to in-depth discussions on source codes, binaries, and the latest developments in MMORPG server files. Collaborate with like-minded individuals, explore tutorials, and share insights on building and optimizing private servers. Join us today and unlock the full potential of MMORPG server development!

Join Today!

Working php account creator inside

Status
Not open for further replies.
Newbie Spellweaver
Joined
Jan 15, 2004
Messages
18
Reaction score
0
OK, i got it to work ^_^

Make sure u make a login in enterprise manager for iis or it wont work.
I cleaned the code a little and fixed 2 small things, i hope the creator doesnt mind...

register.php

<title>A3 Local - Singup</title><table width="28%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="215"><form name="register" method="post" action="regid.php">
<p>User:
<input type="text" name="login">
</p>
<p>Pass:
<input type="text" name="pw">
</p>
<p>
<input type="submit" value="Register">
</p>
</form>
<p> </p>
</td>
</tr>
</table>

regid.php

<?php
$login = stripslashes($_POST['login']);
$pw = stripslashes($_POST['pw']);

if (empty($login) || empty($pw)) {
echo "Some fields were left blank. Please go back and try again.";
**
else {
$msconnect=odbc_connect("LocalServer","Administrator","insert_pass_here");
$msquery = "INSERT INTO account(c_id, c_sheadera, c_sheaderb, c_sheaderc, c_headera, c_headerb, c_headerc, d_cdate, c_status, m_body) VALUES ('$login','$pw','$pw','$pw','$pw','$pw','$pw','1/1/2003 12:00:00','A','$pw')";
$msresults= odbc_exec($msconnect,$msquery);
**

?>

<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Your
account has been created succesfully:<br>
Login ID: <?php print "$login"; ?><br>
Password: <?php print "$pw"; ?> <br>
</p>

HF and enjoy
 
Last edited:
...

heh i know the creator, it was made for MuOnline using Abyss Webserver :)
i edited it too and i made a reset page, register page, pk reset page, change password page on php for muonline :)
 
Status
Not open for further replies.
Back