[help] Register page error

Elite Diviner
Joined
Oct 5, 2008
Messages
464
Reaction score
1
hi all!!!


im getting trouble with my register script....i tried a lot of scripts but i always have this error


Fatal error: Call to undefined function exi() in C:\wamp\www\register.php on line 51

im using aldimaster DB

here is my script

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <style type="text/css">
<!--
body {
	background-image: url();
}
.style1 {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-weight: bold;
}
body,td,th {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
}
-->
  </style>
  <title>Flyff Fakes Server - Server BETA (Teste)</title>
</head>
<body>
<p class="style1" align="center"><span
 class="b01"><strong> Create Account </strong></span><br>
</p>
<form action="?op=register" method="post">
  <table align="center" border="0" width="258">
    <tbody>
      <tr>
        <td class="b01" height="20" width="107"><strong>Login:</strong></td>
        <td width="141"><label> <input
 name="user" class="liteoption" id="user" size="15"
 maxlength="15" type="text"> </label></td>
      </tr>
      <tr>
        <td class="b01" height="25"><strong>Password:</strong></td>
        <td><input name="pass1" class="liteoption"
 id="pass1" size="15" maxlength="15"
 type="password"></td>
      </tr>
      <tr>
        <td class="b01" height="36"><strong>Repeat
Password : </strong></td>
        <td><input name="pass2" class="liteoption"
 id="pass2" size="15" maxlength="15"
 type="password"></td>
      </tr>
    </tbody>
  </table>
  <p align="center"> <input name="submit"
 class="liteoption" value="Create Account " type="submit">
  </p>
</form>
<div align="center"><?php if(isset($_POST['submit'])) {

require('config.php');

if(!$_POST['user'] || !$_POST['pass1'] || !$_POST['pass2']) {

die('<strong>You must fill in all of the feilds!!!<BR></strong>');

}

else {

$user = $_POST['user'];

$pass = md5('kikugalanet' .$_POST['pass1']. '');

}

$pass2 = md5('kikugalanet' .$_POST['pass2']. '');

if(exi($user) != '0') {

die("Username: '".$user."' is in use!");

}

if($pass != $pass2) {

die('<strong>Passwords dont match!</strong>');

}

$nww = nw($user, $pass); 

if ($nww){

echo("<p class='b01'><strong>Registration Complete!</strong></p>");

}else  {

echo("<p class='b01'><strong>Registration Failed!</strong></p>");

}}

?> </div>
</body>
</html>


ty!!!
 
Last edited:
Back