register page with Verification code in lava

Started on the old forum in December 2009 · view the original in the archive · old links redirect here

8 replies · 981 views · started 16 years ago · 1 min read

6 participants
sklbd Junior · 47 posts #1

i hv need register page with Verification code in lava can any body help me

ShaK!L AhammeD

Sklifbd.CoM +88-01730039272

KiLLeR_mAcHInE Developer · 128 posts #2

I think its already here use search buton

:-):-):-):-) any probs PM me ??? :-):-):-):-):-) c yA

subzero Super moderator Fellow · 3,954 posts #3

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... _______…

KiLLeR_mAcHInE Developer · 128 posts #6

mobileGIGS wrote: Dats stupid

u r absolutely right it been long ago i saw it so now i have to search it for him .

:-):-):-):-) any probs PM me ??? :-):-):-):-):-) c yA

arg0s12 Developer · 144 posts #7

jefweewap wrote: just give him the topic link then this case is solve...😊

teaching and posting code for you is enough, but finding threads for your own sake is such a lazy, im a newbie like you, if you want to create your own, spend your time to read, if you dont understand, then post to explain to you, dont lazy bro,

sklbd Junior · 47 posts #8

hey frnds

plz give me the code if u have no problem plz plz plz

ShaK!L AhammeD

Sklifbd.CoM +88-01730039272

subzero Super moderator Fellow · 3,954 posts #9

Add this too your header before <doc

session_start();

img.php

<?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; 
?> 

Download font: georgia.ttf

in core sign up also include session_start();

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... _______…

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close