Register for your free account! | Forgot your password?

You last visited: Today at 14:27

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

Regi Problem

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");
$password == $confirmpass){
strlen($username) >= 5){
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);
mssql_fetch_row($results_check) == 0){

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 "";
$user ="sa";
$pass="sa password";

mssql_select_db($db,$link) or die("Can't select the datebase");

OLdLegendServer is offline  

« Previous Thread | Next Thread »

Similar Threads
[Problem!!!]MT2 P-Server Regi Page DynDns Problem!
Servus Leute, ich habe da ein kleines Problem mit meinem Pserver.(DynDns) Ich habe meine Homepage auf mein Server hochgeladen, habe es...
3 Replies - Metin2 PServer - Discussions / Questions
[EP1]Problem mit Regi
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...
4 Replies - Last Chaos Private Server
Problem bei Regi
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,...
12 Replies - WarRock

All times are GMT +2. The time now is 14:27.

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

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.