register page with Verification code in lava

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    register page with Verification code in lava

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

    #2
    I think its already here use search buton

    Comment


      #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...
      _______
      Info & Tips
      php.net
      w3schools.com

      Comment


        #4
        Originally posted by KiLLeR_mAcHInE View Post
        I think its already here use search buton
        just give him the topic link then this case is solve...

        Comment


          #5
          Dats stupid

          Comment


            #6
            Originally posted by mobileGIGS View Post
            Dats stupid
            u r absolutely right it been long ago i saw it so now i have to search it for him .

            Comment


              #7
              Originally posted by jefweewap View Post
              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,

              Comment


                #8
                hey frnds

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

                Comment


                  #9
                  Add this too your header before <doc

                  Code:
                  session_start();
                  img.php
                  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; 
                  ?>
                  Download font: georgia.ttf

                  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

                  Working...
                  X