Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 04:31

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

Advertisement



regi script bitte lesen

Discussion on regi script bitte lesen within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2009
Posts: 2,550
Received Thanks: 575
regi script bitte lesen

PHP Code:
<?php include('config.html');
    if(isset(
$_POST['submit']) && $_POST['submit'] == 'Senden') {
        
$username mysql_real_escape_string($_POST['Account']);
        
$password mysql_real_escape_string($_POST['Passwort']);
        
$email mysql_real_escape_string($_POST['E-Mail']);
        
        
$sql "INSERT INTO account SET login = '".$username."', password = PASSWORD('".$password."'), real_name = '".$rl_name."', email = '".$email."'";
        
$result mysql_query($sql);
        if(
$result) { echo 'Du hast dich erfolgreich registriert!'; } else { echo 'NOT'; }
    }
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Registration</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="Registration" />
<meta name="keywords" content="some, keywords, comes, later" />
<meta name="language" content="en" />
<meta name="robots" content="index,follow" />
<meta name="author" content="S3cr3t" />
<meta name="revisit-After" content="5 days" />
<meta name="distribution" content="local" />
<style type="text/css"><!--body{ color:#FF0; font:bold 8pt Verdana,Arial,Helvetica,sans-serif; }
#container    { margin:-200px auto; width:180px; overflow:hidden; }
#text         { padding:5px; }
#text ul     { padding:1px; margin-left:15px; }
#text li     { display:block; }
#left         { float:left; }
#right         { float:right; margin-right:15px; }
!--></style><script type="text/javascript">
if (top.frames.length != 0)
    top.location=self.location;</script></head><body><div id="container"><div id="text"><form action="index.html" method="post"><ul><li>Account:</li><li><input type="text" name="username" size="20" /></li><li>Passwort:</li><li><input type="password" name="password" size="20" /></li><li>E-Mail:</li><li><input type="text" name="email" size="20" /></li><li><input type="submit" name="submit" value="Senden" /></li></ul>
            </form>
        </div>
    </div>
</body>
</html></font></div>
immer wenn ich die regipage aufrufen will kommt so diese fehlermeldung dass die verbindung zur datenbank fehlgeschlagen ist, failed to connect t mysql on 5.blabla und so, was is an dem script bloss falsch? hier auch noch die config:

PHP Code:
<?php 
    
/*
    |-------------------------------------------------------------------
    | Datenbank Connection Details
    |-------------------------------------------------------------------
    */
        
$mysql_host     "zensiert";
        
$mysql_user     "zensiert";
        
$mysql_pass     "zensiert";
        
$mysql_db    "account";
    
/*
    |-------------------------------------------------------------------
    | Datenbank Verbindung herstellen
    |-------------------------------------------------------------------
    */    
        
mysql_connect($mysql_host$mysql_user$mysql_pass) OR
        die(
"Verbindung fehlgeschlagen!".mysql_error());    
        
        
mysql_select_db($mysql_db) OR
        die(
"Es trat ein Fehler auf!".mysql_error());
?>
es war ursprünglich das script von xbloom

was soll ich nur machen
im html forum will mir keiner helfen weil alle meinen das script wäre ein totaler noob-salat, isses warscheinlich auch
.G0ldRaiN is offline  
Old 05/14/2010, 21:56   #2
 
.iAppeL²'s Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 1,385
Received Thanks: 306
da is nix falsch du hast es warscheinlich falsch eingegeben usw. und das is kein salat das is einfach nur ne einfache Regi
.iAppeL² is offline  
Reply


Similar Threads Similar Threads
[Metin2] skandal BITTE LESEN, DAS GEHT AN ALLE BITTE ES IST WICHTIG !
07/09/2010 - Metin2 Private Server - 21 Replies
Also wie ihr besimmt mit bekommen habt ist NewSchool2 Down. es gibt ein Grunde die OVH oder wie das heißt gibt Metin2 Server an GF ab und die GF macht dan Anzeige 4 - 8000€ aber naja schaut es euch selber an. skandal.....
Suche Psc Script und Regi Script !
06/07/2010 - Metin2 Private Server - 0 Replies
Hallo ICh suche für meinen Root server ein Paysafecard Script und Regi Script Das Regi script nich so dringend aber Psc Dringend ! Bitte kein Spam ! Spam wir gleich #reported
[HTML&PHP PROFIS LESEN]Regi Script Hilfe
05/14/2010 - Metin2 Private Server - 0 Replies
PROBLEM GELÖST BITTE CLOSEN!!!
Eine Bitte an die GANZE Metin2 Section! Bitte Lesen und verstehen
07/18/2009 - Metin2 Private Server - 115 Replies
Hallo erstmal Also es geht darum das in der Metin2 Section extrem viel Spam drin ist und extrem viele Sinnfreie Threats. Also fang ich mal an was euch hiermit sagen will: Ich weiss nicht wie ihr es seht aber i-wie läuft die Metin2 Section nich wirklich gut, weil jeder irgendein Müll Postet von wegen "Server Down?" "IS Down?" usw. Warum macht ihr einen Threat auf nachdem der Server 1 Minute Down geht? Warum wartet ihr nicht ab bis er wieder on ist? Wenn so ein Threat entsteht ist das...



All times are GMT +1. The time now is 04:33.


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.