Register for your free account! | Forgot your password?

You last visited: Today at 22:36

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

Advertisement



Regi Problem

Discussion on Regi Problem within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2012
Posts: 21
Received Thanks: 0
Regi Problem

Hallo, i have a Problem with my Regi Script



PHP Code:
}
 
$connect mssql_connect('(local)','user','password');
    if (!
$connect) {echo 'connection error'; exit;}
    
mssql_select_db('Auth'$connect) or die('connection error'); 
    
$array_char = array("'","/","\\","*",":","!","?""&""%""ù","^""$""=","¨","}","{","(",")","~","#","[","]","ç","à","é","€","§",";","¤","°","£","`","<",">");
    
$username trim(str_replace($array_char"",$_POST['username']));
    
$password trim(str_replace($array_char"",$_POST['password']));
    
$confirmpass trim(str_replace($array_char"",$_POST['confirmpass']));
    
$email trim(str_replace($array_char"",$_POST['email']));
    
$hash md5("2011$password");
 if(
is_valid_email($email)){
    if(
$password == $confirmpass){
        if(
strlen($username) >= 5){
            if(
strlen($password) >= 5){
                
$query_check ="SELECT account from Account WHERE account='$username'";
                
$query "INSERT Account(email,account,password) VALUES('$email','$username','$hash')";
                
$results_check mssql_query($query_check);
                if(
mssql_fetch_row($results_check) == 0){
                    if(
mssql_query($query)){ 

I didnt know how i could fix that error :/ Could somebody help me pls

You could close the topic, i found the problem
Romentiq is offline  
Old 12/16/2013, 20:52   #2
 
elite*gold: 0
Join Date: Nov 2013
Posts: 4
Received Thanks: 1
hi ,
I wana to help you ..
first : did you enable PHP MSSQL function ?
second : which WebServer engine did you use ?
third : try this code for connect to MSSQL engine



PHP Code:
$db "database name";
$host "127.0.0.1";
$user ="sa";
$pass="sa password";

$linkmssql_connect($host$user$pass);
mssql_select_db($db,$link) or die("Can't select the datebase");
$Query="";
mssql_query($Query); 
OLdLegendServer is offline  
Reply


Similar Threads Similar Threads
[Problem!!!]MT2 P-Server Regi Page DynDns Problem!
11/28/2013 - Metin2 Private Server - 3 Replies
Servus Leute, ich habe da ein kleines Problem mit meinem Pserver.(DynDns) Ich habe meine Homepage auf mein Server hochgeladen, habe es konfiguriert etc. , nur das Problem ist , wenn ich jetzt auf die Homepage gehe wird zwar angezeigt MySQL Online , Login Online etc. aber wenn ich mich wirklich einlogge geht das nicht. Aber das witzige ist , er zeigt bei Rangliste tatsächlich die Leute auf dem Server an d.h er hat eig. ne Verbindung zum GameServer , aber man kann ich nicht einloggen. xD ...
[EP1]Problem mit Regi
02/05/2012 - Last Chaos Private Server - 4 Replies
Guten Tag Wir haben jetzt wirklich alle im Server hinbekommen und er ist auch bereit Online zu kommen nur wir bekommen die Regipage mit Xammp nicht hin uns deshalb bitte ich um eure Hilfe wenn jemand weiß wie man eine Regipage macht für einen Ep1 server dan pls hier melden oder in Skype unter alimina91 danke. Ihr seit eine echte Hilfe.
Problem bei Regi
01/09/2010 - WarRock - 12 Replies
Hey, da ich nun mein ersten Acc aufgeben will :D (dumme kd :awesome: ) wollte ich mich halt neu registirieren^^ Aber als ich das machen wollte, bin ich bis IP gekommen denn er hat die avibalität(oO) der IP nicht geladen die lädt schon seid ca. 57min. und läd und läd.... könntet ihr sagen woran das liegt^^ bidde :D mfg Mine



All times are GMT +1. The time now is 22:36.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.