Help - Making Captcha txt bigger

xplicit

BANNED
Joined
Jul 21, 2008
Messages
1,113
Reaction score
1,062
Hey All, If this is in the wrong section I apologize and please move.

Ok, I am trying to set my captcha txt size, It is really small.

I searched everywhere and have tried different things such as $size = rand(12, 14); and $charSize = 48; but neither of them worked.

Here is the code I have

Code:
<?php

require_once( '../inc/header.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'images.inc.php' );

ob_start();
$chars = array("a","b","c","d","e","f","h","i","k","m","n","o","r","s","t","u","v","w","x","z","2","3","4","5","6","7","8","9");
/*
$chars = array("a","A","b","B","c","C","d","D","e","E","f","F","g","G","h","H","i","I","j","J",
			   "k","K","L","m","M","n","N","o","p","P","q","Q","r","R","s","S","t","T",
			   "u","U","v","V","w","W","x","X","y","Y","z","Z","2","3","4","5","6","7","8","9");
*/

$textstr = '';
for ($i = 0, $length = 6; $i < $length; $i++)
   $textstr .= $chars[rand(0, count($chars) - 1)];

$hashtext = md5($textstr);
setcookie('strSec', $hashtext, 0, '/');

if ( produceSecurityImage( $textstr, $hashtext ) != IMAGE_ERROR_SUCCESS )
{
	// output header
	header( "Content-Type: image/gif" );
	
    header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" );
    header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" );
    header( "Cache-Control: no-store, no-cache, must-revalidate" );
    header( "Cache-Control: post-check=0, pre-check=0", false );
    header( "Pragma: no-cache" );
	
	// output error image
	@readfile( $dir['profileImage'] . 'simg_error.gif' );
}

ob_end_flush();
?>

If anyone could help me on this I would be your best friend for life... Well maybe 5 minutes....lol

Thanks in advance

And NO there is no review copy so don't even ask you leechers.... HAHAHAHA... Ok that was wrong...
 
Been there done that, Didint work, Actually went smaller when I stopped taken them.... Didnt read that on the side effects label
 
Sorry I couldn't really help but I'm someone here will have an answer for you.
 
You big fat meanie...:p... That hurt my wittle feelings.

I sure hope so, I have been trying everything I could find for the past 3 hrs and nothing has worked so far... I am lost
 
Back
Top