i hv need register page with Verification code in lava can any body help me
register page with Verification code in lava
Collapse
X
-
lol,
Why you posted..... ??
And yes he is right but 1 thing that you didn't search for it ....Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
-
Originally posted by jefweewap View Postjust give him the topic link then this case is solve...
Comment
-
Add this too your header before <doc
Code:session_start();
Code:<?php ini_set('display_errors','0'); // Font directory + font name $font = 'font/georgia.ttf'; // Total number of lines $lineCount = 2; // Size of the font $fontSize = 10; // Height of the image $height = 25; // Width of the image $width = 40; $img_handle = imagecreate ($width, $height) or die ("Cannot Create image"); // Set the Background Color RGB $backColor = imagecolorallocate($img_handle, 0,0,0); // Set the Line Color RGB $lineColor = imagecolorallocate($img_handle, 255,0,0); // Set the Text Color RGB $txtColor = imagecolorallocate($img_handle, 255,255,255); // Do not edit below this point $string = "abcdefghijklmnopqrstuvwxyz0123456789"; for($i=0;$i<4;$i++){ $pos = rand(0,36); $str .= $string{$pos}; } $textbox = imagettfbbox($fontSize, 0, $font, $str) or die('Error in imagettfbbox function'); $x = ($width - $textbox[4])/2; $y = ($height - $textbox[5])/2; imagettftext($img_handle, $fontSize, 0, $x, $y, $txtColor, $font , $str) or die('Error in imagettftext function'); for($i=0;$i<$lineCount;$i++){ $x1 = rand(0,$width);$x2 = rand(0,$width); $y1 = rand(0,$width);$y2 = rand(0,$width); imageline($img_handle,$x1,$y1,$x2,$y2,$lineColor); } header('Content-Type: image/jpeg'); imagejpeg($img_handle,NULL,100); imagedestroy($img_handle); session_start(); $_SESSION['img_number'] = $str; ?>
in core sign up also include session_start();
Code:if($_SESSION['img_number'] != $_POST['num']) { echo "The number you entered doesn't match the image."; }else{ echo "All good!!"; }
Now
<img src=\"images/img.php\" alt=\"alt\"/>
<input type=\"text\" name=\"num\"/>Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
Comment