Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 06:14

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

Advertisement



Suche: Sichere Regiscript v15 mit Captcha

Discussion on Suche: Sichere Regiscript v15 mit Captcha within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2008
Posts: 140
Received Thanks: 25
Suche: Sichere Regiscript v15 mit Captcha

Hi Leutz,
wie es in dem Titel steh, suche ich ein v15 Regi-Script logischerweise Sonderzeichen verboten mit Captcha.

Vllt kann hier ja wer helfen

MfG:
Zaiden
Zaiden90 is offline  
Old 01/05/2011, 09:30   #2
 
KohLix3's Avatar
 
elite*gold: 0
Join Date: Jul 2010
Posts: 423
Received Thanks: 64
Regi Script findest du bei den Homepage Addons in den Stickys.

Captcha:
image.php:
PHP Code:
<?php
session_start
();

$img imagecreatetruecolor(80,30);

$white imagecolorallocate($img255255255);
$black imagecolorallocate($img000);
$grey imagecolorallocate($img,150,150,150);
$red imagecolorallocate($img25500);
$pink imagecolorallocate($img2000150);

function 
randomString($length){
    
$chars "abcdefghijkmnopqrstuvwxyz023456789";
    
srand((double)microtime()*1000000);
    
$str "";
    
$i 0;
    
        while(
$i <= $length){
            
$num rand() % 33;
            
$tmp substr($chars$num1);
            
$str $str $tmp;
            
$i++;
        }
    return 
$str;
}

for(
$i=1;$i<=rand(1,5);$i++){
    
$color = (rand(1,2) == 1) ? $pink $red;
    
imageline($img,rand(5,70),rand(5,20), rand(5,70)+5,rand(5,20)+5$color);
}

imagefill($img00$white);

$string randomString(rand(7,10));
$_SESSION['string'] = $string;

imagettftext($img1101020$black"calibri.ttf"$string);

header("Content-type: image/png");
imagepng($img);
imagedestroy($img);
?>
in der regi file:
PHP Code:
<?php
ob_start
();
session_start();

if(!
$_POST['submit']){
    echo 
"<form method=\"post\" action=\"captcha.php\">\n";
    echo 
"<table border=\"0\" cellspacing=\"3\" cellpadding=\"3\">\n";
    echo 
"<tr><td>Type The Letters You See Below Into the Box</td></tr>\n";
    echo 
"<tr><td align=\"center\"><img src=\"image.php\"></td></tr>\n";
    echo 
"<tr><td align=\"right\"><input type=\"text\" name=\"image\"></td></tr>\n";
    echo 
"<tr><td align=\"right\"><input type=\"submit\" name=\"submit\" value=\"Check CAPTCHA\"></td></tr>\n";
    echo 
"</table></form>\n";
}else {
    
$image $_POST['image'];
    
    if(
$image == $_SESSION['string']){
        echo 
"<b>Great success!</b>\n";
    }else {
        echo 
"<em>Failure!</em>\n";
    }
}

ob_end_flush();
?>
Wenn du hilfe dabei brauchst, ich schick dir nacher am PC die ganze Datei.
KohLix3 is offline  
Reply


Similar Threads Similar Threads
[Suche] Sichere Wege um im Internet Geld zu machen
08/02/2010 - Off Topic - 34 Replies
--
Sichere Yang seite?
06/27/2010 - Metin2 - 16 Replies
Hey e*PVp^^ Hab so ne Yang seite gefunden.. undzwar die hier: Money-Gaming Aber ich trau mich i.wie nicht da einzukaufen ^^ Der Support ist zwar so super nett, und die helfen auch einen.. aber bin trozdem stuzig.. kennt ihr da vielleicht etwas?



All times are GMT +1. The time now is 06:15.


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.