Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 16:04

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

Advertisement



[Release]E-mail validity checker for register pages!

Discussion on [Release]E-mail validity checker for register pages! within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 03/20/2010, 10:20   #16
 
elite*gold: 0
Join Date: Sep 2009
Posts: 321
Received Thanks: 60
i have one but its not exactly rocket science :P mines coemu but easily converted if the guy who made the one for 5165 wasnt an idiot the person who made 5165's didnt write that by hand its way to messy he used an auto coder maker of some kind so it just confuses me when im trying to implant it and im certainly not rewriting it lol
LegalConquer is offline  
Old 03/20/2010, 11:09   #17
 
walmartboi's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 378
Received Thanks: 163
Ihr seid dumm. >.>

walmartboi is offline  
Old 03/20/2010, 14:33   #18
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
captcha/image.php

Code:
<?php
session_start();

$img = imagecreatetruecolor(80,30);

$white = imagecolorallocate($img, 255, 255, 255);
$black = imagecolorallocate($img, 0, 0, 0);
$grey = imagecolorallocate($img,150,150,150);
$red = imagecolorallocate($img, 255, 0, 0);
$pink = imagecolorallocate($img, 200, 0, 150);

function randomString($length){
    $chars = "abcdefghijkmnopqrstuvwxyz023456789";
    srand((double)microtime()*1000000);
    $str = "";
    $i = 0;
    
        while($i <= $length){
            $num = rand() % 33;
            $tmp = substr($chars, $num, 1);
            $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($img, 0, 0, $white);

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

imagettftext($img, 11, 0, 10, 20, $black, "calibri.ttf", $string);

header("Content-type: image/png");
imagepng($img);
imagedestroy($img);
?>
captcha/captcha.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();
?>
not coded by me. found it online..
PeTe Ninja is offline  
Old 03/20/2010, 16:03   #19
 
elite*gold: 0
Join Date: Sep 2009
Posts: 321
Received Thanks: 60
Unless its recaptcha i wouldnt use it coz a lot of them are proper ****.
LegalConquer is offline  
Old 03/20/2010, 20:28   #20
 
walmartboi's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 378
Received Thanks: 163
@PeTe

That would work, true, but what if the spammer has sessions disabled(which is very easy to do, if you know what you're doing ofcourse)? reCaptcha doesn't use sessions, it uses it's own key method, which is virtually fool proof since most of the people in the CO P-server world are little 3 year old script kiddies. That being said, I would much rather have reCaptcha, seeing that it's safer and more reliable.
walmartboi is offline  
Old 03/20/2010, 20:34   #21
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
didn't code it.. lolz but okay
PeTe Ninja is offline  
Old 03/20/2010, 20:39   #22
 
walmartboi's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 378
Received Thanks: 163
Quote:
Originally Posted by PeTe Ninja View Post
didn't code it.. lolz but okay
Exactly.
walmartboi is offline  
Reply


Similar Threads Similar Threads
[Release] ConquerSx Register & Change Pass Pages
11/09/2011 - CO2 PServer Guides & Releases - 35 Replies
Hi all this is my php script for ConquerSx source with cool design hope you enjoy it screenshot http://i48.tinypic.com/1y74b5.jpg and here is config.php which you must edit <?php //Database
[Release/Guide]All Pages of a Website
09/03/2011 - EO PServer Guides & Releases - 13 Replies
Hello all! Im going to give out the 'Pages' as they say to your website. I modified my ones of course, But Go ahead, Modify for your need also. The Red Color ones, You need to change because without those, It will not function correct. This includes: All Rankings Banned Players Broadcast
[QUESTION] Where Do I Release Registration Pages?
01/25/2010 - CO2 Private Server - 6 Replies
Where do i release registration pages that i have made?
Register Pages
06/30/2008 - EO PServer Hosting - 3 Replies
There are alot of Websites on the Private servers list Whose Register pages do not Work CAN U PLEASE FIX THAT Theres no point of you being there if you cant fix ur register page and ur Server has been there for months



All times are GMT +1. The time now is 16:05.


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

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.