Jump to content
  • 0

[Request]ACM files for my website


Question

Posted

Geia sas....xreiazome ta arxia tou acm gia to site mou kai dn mporw na ta brw...an kapoios ta exei 8a ton parakalousa polu na mou ta dwsei!!!  :P  ;D euxaristw polu....

3 answers to this question

Recommended Posts

  • 0
Posted
<?php

$mysql_host = "127.0.0.1";
$mysql_user = "root";
$mysql_passwd = "root";
$mysql_db = "l2jdb";

?>

<script type="text/javascript">//<![CDATA[
function isAlphaNumeric(value)
{
  if (value.match(/^[a-zA-Z0-9]+$/))
    return true;
  else
    return false;
}
function checkform(f)
{
  if (f.account.value=="")
  {
    alert("You have not entered a user name!");
    return false;
  }
  if (!isAlphaNumeric(f.account.value))
  {
    alert("Fill in all fields! Only alphanumeric characters!");
    return false;
  }
  if (f.password.value=="")
  {
    alert("You have not entered a password!");
    return false;
  }
  if (!isAlphaNumeric(f.password.value))
  {
    alert("444444");
    return false;
  }
  if (f.password2.value=="")
  {
    alert("You have not repeated the password!");
    return false;
  }
  if (f.password.value!=f.password2.value)
  {
    alert("The two password is not the same!");
    return false; 
  }
}
//]]></script>
<?php

$formtable = '
<form method="post" onsubmit="return checkform(this)">
<table>
<tr>
  <td><b><font color="#000000">Username:</font></b></td>
  <td><font face="Trebuchet MS" size="1"><b>
  <input type="text" name="account" maxlength="15" size="30" /></b></font></td>
</tr>
<tr>
  <td><b><font color="#000000">Password:</font></b></td>
  <td><font face="Trebuchet MS" size="1"><b>
  <input type="password" name="password" maxlength="15" size="30" /></b></font></td>
</tr>
<tr>
  <td><b><font color="#000000">Password Repty:</font></b></td>
  <td><font face="Trebuchet MS" size="1"><b>
  <input type="password" name="password2" maxlength="15" size="30" /></b></font></td>
</tr>
<tr>
  <td colspan="2" style="text-align: center;">
  <font size="1" face="Trebuchet MS"><b><br />
  <input type="submit" name="submit" value="Register" /></b></font></td>
</tr>
</table>
</form>
<br>
<center></center>
';
mysql_connect($mysql_host, $mysql_user, $mysql_passwd) or die ("Nem sikerült csatlakozni a MySQL szerverhez!");
mysql_select_db($mysql_db) or die("Nincs ilyen adatbázis: mySQL_database "); 

$bannedip=mysql_num_rows(mysql_query("SELECT * FROM accounts WHERE accessLevel='-100' and lastIP='".$_SERVER['REMOTE_ADDR']."'"));
if($bannedip<1){
if (isset($_POST['submit'])) {
    $error_str = '';
    if (!empty($error_str)) {
    print "<b><font color=red>Következő hibák léptek fel:</font></b><br>".$error_str."<br>".$formtable;
    exit; // die
    }
    $acc=mysql_num_rows(mysql_query("SELECT * FROM accounts WHERE login='".$_POST['account']."'"));
if( $acc > "0" ){ 
print '<p class="error"><b><font color=red>This name is already in use!</font></b></h2></p>';
} else { 
print'<p class="error"><b><font color=green>Registration Success!Have a good game! </font></b></h2></p>';
mysql_query ("INSERT INTO accounts (login, password, accessLevel) VALUES ('".$_POST['account']."', '".base64_encode(pack('H*', sha1($_POST['password'])))."', 0)");
     }
    } else { print $formtable; }
    } else {
    print '<p class="error"><b><font color=red>Sorry, but you cannot register!</font></b></h2></p>';
mysql_query ("UPDATE accounts SET accessLevel = '-100' WHERE accessLevel>='0' and lastIP='".$_SERVER['REMOTE_ADDR']."'");
}
?>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Hi, as the title says I am looking for l2off developer to help me preparing advext64 H5 files.   We can discuss what I need on discord and set final price for everything.   Please contact me on discord : xdark0    
    • The Time Has Come!    Tomorrow, L2DoubleDamage officially launches! Get ready for epic PvP battles, legendary rewards, and tons of action-packed features!    Opening Date: February 28, 2025  Opening Time by Country:  Greece: 20:00  Brazil: 15:00  Russia (Moscow): 21:00  Argentina: 15:00  Important Note: The donation weapons, armors, and jewelry will be closed for 2 days for the donors.   Key Features:  100% PvP Full Balance – No Pay to Win!  Ultra Stable – No Wipes, Long-Term Project!  Siege Castles: Giran, Aden, Rune  Giran Siege Reward: 100€ Real Money! (Every week after: 50€)  VIP Autofarm: x2 Drop & Name Color Change  6 Grand Bosses & 6 Special Grand Bosses!  Casino – Try Your Luck & Win Big!  Daily PvP Events – Show off your skills!  Enchant Rates: Safe +6, Max +25  JOIN NOW and prepare for the ultimate PvP experience! Check out the official links below:    Website: L2DoubleDamage  Discord: Join Here  Instagram: Follow Us  YouTube: Watch the Trailer  Facebook: Like Our Page  Get ready! The adventure begins tomorrow!    🚀 JOIN NOW & Experience the Best PvP Gameplay Ever! 🚀 🌐 Website: http://www.l2doubledamage.com/ 💬 Discord: https://discord.gg/l2doubledamage 📷 Instagram: https://www.instagram.com/l2doubledamage/ 📘 Facebook: https://www.facebook.com/profile.php?id=61573159438765&sk=about_contact_and_basic_info 📺 YouTube:  
    • 🔥 L2Custom.com - FRESH START/WIPE! 🔥 🗓️ Wipe/Open Date: 2025-03-01, 18:00 GMT+2 ⚔️ Chronicle: Interlude | Rates: High 🌟 Key Features: ✅ Custom Items – Enhanced PvP Experience ✅ Full Buffer – No Hassle, Just Action ✅ Olympiad (A-Grade Only) – Every Week ✅ Castle Sieges – Every Week 🚀 Fresh Start – Dominate from Day 1! Gather your clan, forge alliances, and prove your strength on the battlefield! 🌐 Join Now: www.l2custom.com 💥 Don’t miss out on the ultimate PvP experience! 💥
  • Topics

×
×
  • Create New...