Flyff Pserver Offi regi page

  • EHm hallo erstmal.Also ich habe ein Problem mit Flyff pserver v14 regi page.Da steht Fatal error: Call to undefined function mssql_connect() in C:\AppServ\www\register.php on line 9 was soll ich tun??
    Ich brauche Hilfe! Bitte nichts schreiben mit ja such SuFu da finde ich nichts.

  • Ehm. Zeig mal die Page die du da hast. Vielleicht stellt die ja auch nur eine Verbindung zum MSSQL Server her. Sind denn im Source irgendwelche input tags oder Sql codes vorhanden? Wenn nicht, denke ich mal ist das nur eine angefangene Seite die eine Verbindung zum sql server herstellt.

  • Hier der script

    Zitat

    Hier der Script
    <title>Flyff Server ~ Registration Page</title>
    <body>
    <body background="bg1.jpg">
    <font face="Geneva, Arial, Helvetica, Sans-Serif">
    <font size="3">

    <?php
    ini_set('display_errors', 0);
    $connection = mssql_connect('xxx', 'xxx', 'xxx'); //Change YOURHOST and YOURPASSWORD

    //Credits go to Diumelia and zyberscape (For using a small piece of his code). [TINY Bit of credits to me, Cuvvvie, for modifying this page just a bit.]

    if(!connection || !mssql_select_db('ACCOUNT_DBF', $connection))
    {
    die('Unable to connect or select database!');
    }

    $checkusername = $_POST['Username'];
    $query = mssql_query("SELECT account FROM ACCOUNT_TBL WHERE account = '$checkusername'");
    $result = mssql_fetch_row($query);

    if(isset($_POST['submit'])){
    if($_POST['Username'] == ""){
    $error = '<font color="red"><b>Please enter a username.</b></font>';
    }
    else if($result[0] == $checkusername){
    $error = '<font color="red"><b>This username already exists. Please choose another one.</b></font>';
    }
    else if($_POST['Password'] == ""){
    $error = '<font color="red"><b>Please enter a password.</b></font>';
    }
    else{
    $password = md5('kikugalanet' . $_POST['Password']);
    $stmt = mssql_init('webCreateAcc', $connection);
    mssql_bind($stmt, '@account', $checkusername, SQLVARCHAR, false, false, 15);
    mssql_bind($stmt, '@password', $password, SQLVARCHAR, false, false, 36);
    mssql_bind($stmt, '@birthday', $checkusername, SQLVARCHAR, false, false, 120);
    mssql_bind($stmt, '@email', $checkusername, SQLVARCHAR, false, false, 120);
    mssql_execute($stmt) or die ("Could not complete the registration. Please try again.");
    mssql_free_statement($stmt);
    $error = '<font color="green"><b>Registration complete!</b></font>';
    }
    }

    echo '<form action="register.php" method="post">';
    echo 'Username:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="Username" /><br /><br />';
    echo 'Password:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="password" name="Password" /><br /><br />';
    echo '<input type="submit" name="submit" value="Register" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp';
    echo '</form>';
    echo $error;

    ?>
    [COLOR="Red"]xxx[/COLOR] hab ich wegen da meine daten stehen


    hier ist der script

  • hab das selbe problem meine seite ist auch weiß weiß jemand warum?

  • Alsooo...
    das ; for diesm dingswegmachen in php.ini , und dannach Xampp neustarten doch ich habe nun folgendes Problem, ich kriege keine Accounts ind die Database...

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!