Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 17:09

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

Advertisement



[Problem]Register und Ranking page

Discussion on [Problem]Register und Ranking page within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2008
Posts: 102
Received Thanks: 0
Question [Problem]Register und Ranking page

Hallo Community,
ich habe mir eine Register und Ranking Page für meinen Pserver erstellt. Ich habe alles eingestellt (hamachi ip,Sql daten, etc.) doch wenn ich jetzt auf die seite gehe, steht da der Server ist Down!. Das ; habe ich in der php.ini auch schon entfernt. Ich hoffe ihr habt einen Rat für mich danke
risiko007 is offline  
Old 10/17/2011, 13:21   #2
 
Sruxs's Avatar
 
elite*gold: LOCKED
Join Date: Oct 2011
Posts: 155
Received Thanks: 30
ja poste mal dein script
Sruxs is offline  
Old 10/17/2011, 13:46   #3
 
elite*gold: 0
Join Date: Nov 2008
Posts: 102
Received Thanks: 0
register.php
<?php
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, '@birthday', $bday, SQLVARCHAR, false, false, 120);
mssql_free_statement($stmt);
echo '<font color="Green">Register Successfull.</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 'Birthday: <input type="birthday" name="birthday" /><br />';
echo '<input type="submit" name="submit" value="Register" />';
echo '</form>';

?>
reg_conf.php
<?php
$link = @mssql_connect("yannik-PC\SQLEXPRESS10", "sa", "") or die ("Server is down!");
$db = @mssql_select_db('ACCOUNT_DBF') or die ("Accout table is missing!");
$b = '';
$mail = '';


?>
risiko007 is offline  
Old 10/17/2011, 13:49   #4
 
bloody2009's Avatar
 
elite*gold: 15
Join Date: Feb 2010
Posts: 573
Received Thanks: 115
?>
reg_conf.php
<?php
$link = @mssql_connect("yannik-PC\SQLEXPRESS10", "sa", "passwort fehlt") or die ("Server is down!");
$db = @mssql_select_db('ACCOUNT_DBF') or die ("Accout table is missing!");
$b = '';
$mail = '';


?>
bloody2009 is offline  
Old 10/17/2011, 13:49   #5
 
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
in ner php box wäre cool
Jopsi332 is offline  
Old 10/17/2011, 14:05   #6
 
-Feuer-'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 501
Received Thanks: 164
das selbe problem habe ich auch was soll ich tun....pw hab ich keines
-Feuer- is offline  
Old 10/17/2011, 14:10   #7
 
bloody2009's Avatar
 
elite*gold: 15
Join Date: Feb 2010
Posts: 573
Received Thanks: 115
kann gut an der Xampp version liegen...
bloody2009 is offline  
Old 10/17/2011, 14:11   #8
 
-Feuer-'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 501
Received Thanks: 164
hab 1.7.3
-Feuer- is offline  
Old 10/17/2011, 14:15   #9
 
bloody2009's Avatar
 
elite*gold: 15
Join Date: Feb 2010
Posts: 573
Received Thanks: 115
ich glaub ich hab 1.3.8 x'D
bloody2009 is offline  
Old 10/17/2011, 14:17   #10
 
-Feuer-'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 501
Received Thanks: 164
oh.....wo bekommt man so veralterte versionen her.....
-Feuer- is offline  
Old 10/17/2011, 14:20   #11
 
bloody2009's Avatar
 
elite*gold: 15
Join Date: Feb 2010
Posts: 573
Received Thanks: 115
hmm gute frage wird's wohl kaum noch zum download geben ich hab's damals so gemacht das ich einfach mein xampp zusammen gepackt habe und auf den root gefeuert hab^^
bloody2009 is offline  
Old 10/17/2011, 14:20   #12
 
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
1.7.3 muss gehen dadrüber die sind gay xD
Jopsi332 is offline  
Thanks
1 User
Old 10/17/2011, 14:21   #13
 
-Feuer-'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 501
Received Thanks: 164
hm jopsi wiso gehts dann bei mir net....
-Feuer- is offline  
Old 10/17/2011, 14:29   #14
 
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
weil du deine eingaben falsch hast.
Jopsi332 is offline  
Thanks
1 User
Old 10/17/2011, 14:35   #15
 
elite*gold: 0
Join Date: Nov 2008
Posts: 102
Received Thanks: 0
Ich habe auch kein PW und tortzdem geht es nicht
risiko007 is offline  
Reply


Similar Threads Similar Threads
[Help] Register Page Problem
10/08/2011 - Flyff Private Server - 2 Replies
My register page is'nt working but apache/mysql/filezilla are already running. And there is an error show in when i try my register page click the -- > Link any one can suggest what to do so i can run my register page smoothly. (sorry im not a web developer).
[Help] Register page problem
08/21/2011 - EO PServer Hosting - 0 Replies
Why i got this mysql thing?? http://imageshack.us/photo/my-images/199/36851352 .png/
Register page problem
03/25/2011 - EO PServer Hosting - 6 Replies
i have a problem in my register page when i open the website it opens and i get this http://img220.imageshack.us/img220/5194/screencze .png Uploaded with ImageShack.us
Register page problem
07/11/2010 - CO2 Private Server - 0 Replies
hey guys i'm using zeko2010ss register page from here http://www.elitepvpers.com/forum/co2-pserver-guide s-releases/425207-release-100-5165-register-page-w orking.html (decrypted) I know i posted the problem before but now i know the cause... when i create a character it comes like Name Actualy that is not from the name...it's from the account's status Name + Status...the register page makes the status a space " " which results in this...i'm not a good php coder so if somebody knows how...
Register Page Problem
02/11/2010 - Dekaron Private Server - 2 Replies
All I get is this error.. Using the register page from DKUnderground (ReCaptcha one) Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\register.php on line 117 Yes.. The password and evertything is correct



All times are GMT +1. The time now is 17:09.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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