[Release]Sea-Emulator registration!

05/13/2010 14:49 vorosmihaly#1
Hi all!
Some people asked me how did I do my regpage for Sea-Emulator..
So I'd like to release it here ;)
Demo: [Only registered and activated users can see links. Click Here To Register...]
Download:

Links deleted-due to nansif2
I won't make a tutorial cause of the "noobs"...who can't set it up alone then don't use it..
its written by me.
Don't delete the copyright and Have fun!:D

I deleted the links because some noobz modified the copyright and using my script as his own..
I won't public more things here cause of the noobz


EDIT: if someone need the script just pm me..
05/13/2010 16:24 Shadow_Soul#2
ty dude it will help others :)
05/13/2010 16:33 -Burton-#3
Nice :) gj.
05/13/2010 16:52 DaRealMadafaka#4
Just click submit and dont enter anything xD
05/13/2010 17:04 kevin_owner#5
yeah put a javascript in it
like this:

Code:
<script type="text/javascript">
function validate_required(field,alerttxt)
{
with (field)
  {
  if (value==null||value=="")
    {
    alert(alerttxt);return false;
    }
  else
    {
    return true;
    }
  }
}

function validate(thisform)
{
with (thisform)
  {
  if (validate_required(user,"User is empty noob")==false)
  {user.focus();return false;}
  else if (validate_required(pw,"Password is empty")==false)
  {pw.focus();return false;}
  else if (validate_required(char,"Character is empty")==false)
  {char.focus();return false;}
  }
}
</script>
 <form method="post" onsubmit="return validate(this)" action="regaction.php">
or a php code in registration.

Code:
if(empty($_POST['user']{
echo 'user empty';
} elseif(empty($_POST['pw']{
echo 'password empty';
} elseif(empty($_POST['char']{
echo 'character empty';
} else{
// your code here with all that data and those variables. close it after </html>

}
I didn't test the php code but i think it'll work i tested the javascript code and it works.
05/13/2010 19:09 vorosmihaly#6
hm if anyone need then he will modify it..I don't need it really because sea-emu is sucks now..xD but thanks for help:P


edit: mod can close it..