Captcha Code Kya Hota Hai(क्या होता है)?

Like Tweet Pin it Share Share Email

Hi Friends, apne CAPTCHA ko bahut se Website me dekha hoga. And apne CAPTCHA Code ko bahut bar Verify bhi kiya hoga. But apne kabhi Ye Soch CAPTCHA Code Verification Website me kyo use kiya jata hai. Agar apko Artificial Intelligence CAPTCHA koi bhi jankari nahi hai. To aap Bus Is post ko padhe Kyoki aap mai apko Artificial Intelligence CAPTCHA ke bare me Puri Information Details me bataunga. And sath me ye bhi bataunga ki aap Kaise Artificial Intelligence CAPTCHA bna sakte hai.

Sabse pahle mai apko kuch aise common website ke bare me btata hu, Jisme CAPTCHA Verification ka use hota hai.

  • Google Gmail
  • Google Blogger
  • YouTube Account 

AI CAPTCHA Kya Hota Hai And Ye Kaise Kam Karta Hai:

Sabse hum baat akrte hai ki Artificial Intelligence CAPTCHA kya hota hai. Friends basically CAPTCHA ka matlab hota hai “Completely Automated Public Turing test to tell Computers and Humans Apart”. And iska use Human aur Machine (Computer) ko alag karne ke liye kiya jata hai.

CAPTCHA Verification ka main aim hai. Human ko verify karna aur Website ko Hacker se bachna. CAPTCHA Code ka Basic use Spam aur Website Protection ke liye hota hai.

Example ke taur par Man lijiye koi Hackers, Machine (Computer) ka use karke Google Gmail par account bnana chahta hai. Machine (AI Human, Computer ) Gmail Account banane ke liye Jaruri sabhi Information ko Fill kar deta hai. But jaise hi Machine(Computer) CAPTCHA ko Verify nahi kar pta hai. Kyoki machine, Human ki Tarah Soch nahi sakta hai.And agar aap CAPTCHA ko Verify karna chahte hai to apko ke ander Sochne ki Capability honi chahiye.

Example ke taur par agar ek Image CAPTCHA ko Verify karna hai. And CAPTCHA Verification ka Question hai “Select Store Front Image”.

Image CAPTCHA

Agar aap ek Insan hai to aap ko CAPTCHA Image me dekhker aap soch sakte hai, ki Kaun sa image “Store Front Image” hai. But EK Machine (Computer) ye kaise soch sakta hai ki CAPTCHA me diya gya image “Store Front Image” hai. yah koi aur Image hai.

Iska Matlab aap Machine ka use karke Gmail par Account nahi bna sakte hai. Google Security ke anusar Gmail par keval Ek Human hi Account bna sakta hai. Agar apko detail me pta karna hai ki Google CAPTCHA ka use kyo karta hai to iske liye aap neeche diye gaye link par click kare.

Read: Google CAPTCHA Code Kyo Use karta hai

Google Human Verification ke liye 4 type ke Artificial Intelligence CAPTCHA ko use karta hai.

  • Letter Squence CAPTCHA
  • Number Sequence CAPTCHA
  • Image Verification CAPTCHA
  • Voice Verification CAPTCHA
  • Type of CAPTCHA

CAPTCHA  Kaise Banaye:

CAPTCHA ko banane ke liye Programming Code use kiya jata hai. Alag-alag tarah ke Programming Language me alag-alag tarah ke Program Code use kiya jata hai.Mai apko CAPTCHA Code bnane ke mai apko PHP Code and HTML Code ke bare me btata hu. jisse aap CAPTCHA Code bna sakte hai.

Related: Programming Language ko Sikhane Ke Liye Click Kare

HTML Contact Form:

<form method=”POST” name=”contact_form”
action=”<?php echo htmlentities($_SERVER[‘PHP_SELF’]); ?>”>

<label for=”name”>Name: </label>
<input type=”text” name=”name”
value=”<?php echo htmlentities($name) ?>”>

<label for=”email”>Email: </label>
<input type=”text” name=”email”
value=”<?php echo htmlentities($visitor_email) ?>”>

<label for=”message”>Message:</label>
<textarea name=”message” rows=8 cols=30
><?php echo htmlentities($user_message) ?></textarea>

<img src=”captcha_code_file.php?rand=<?php echo rand(); ?>”
id=”captchaimg” >
<label for=”message”>Enter the code above here :</label>
<input id=”6_letters_code” name=”6_letters_code” type=”text”>

<input type=”submit” value=”Submit” name=”submit”>
</form>

CAPTCHA Validation:

if(isset($_POST['submit']))
{
  if(empty($_SESSION['6_letters_code'] ) ||
    strcasecmp($_SESSION['6_letters_code'], $_POST['6_letters_code']) != 0)
  {
      //Ise bhi padhe:the captcha code is compared case insensitively.
      //if you want case sensitive match, update the check above to
      // strcmp()
    $errors .= "n The captcha code does not match!";
  }
         if(empty($errors))
  {
    //send the email
    $to = $your_email;
    $subject="New form submission";
    $from = $your_email;
    $ip = isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : '';
     
    $body = "A user  $name submitted the contact form:n".
    "Name: $namen".
    "Email: $visitor_email n".
    "Message: n ".
    "$user_messagen".
    "IP: $ipn"
     
    $headers = "From: $from rn";
    $headers .= "Reply-To: $visitor_email rn";
     
    mail($to, $subject, $body,$headers);
     
    header('Location: abc.html');
  }
}

Agar aap apne CAPTCHA Box ko customize karna chhate hai. To aap neeche diye gaye Code ka use karke apne CAPTCHA Box ko customize kar sakte hai.

$image_width = 160;
$image_height = 50;
$characters_on_image = 6;
$font = './monofont.ttf';
 
//CAPTCHA me aap is tarah ke characters ka use kar sakte hai .
//CPTCHA Code banate samay Confusing Character ko avoid kare (l 1 and i for example)
$possible_letters = '23456789bcdfghajkmnpqrstvwxyz';
$random_dots = 0;
$random_lines = 20;
$captcha_text_color="0x142864";
$captcha_noise_color = "0x132864";

दोस्तों CAPTCHA , Artificial Intelligence का बहुत ही useful टूल है. जिसका प्रयोग वेबसाइट को Spam और hacker से बचाने के लिए किया जाता है . क्योकि Hacker हमेशा Machine (AI Human, कंप्यूटर ) का use करते है. जो केवल कमांड पर काम करते है. जबकि CAPTCHA को Verify करने के लिए सोचने की जरुरत होती है.

उम्मीद है ये पोस्ट आपको पसंद आया होगा अगर आपको इस पोस्ट में कोई प्रॉब्लम है या आपके पास इस पोस्ट के बारे में कोई विचार हो तो आप हमें कमेंट करे

धन्यवाद्

Comments (2)

Leave a Reply

Your email address will not be published. Required fields are marked *