Using CAPTCHA images
Video: Using CAPTCHA imagesI want to talk about a CAPTCHA image and make you aware of what this is. This is something that we're going to take a look at in this course, so you will need to sign up, if you want to use this feature, for CAPTCHA. So, I wanted to give you some information about it and also head you in the right direction so you can sign up for a CAPTCHA account. I'll kind of show you how the process works in this movie. What we'll do is take your specific account information.
Viewers: in countries Watching now:
Forms perform an essential function in modern websites, making it possible to gather information from users and validate that information. In this course, Adobe Certified Expert Candyce Mairs shows how to create forms to email user information and validate user data using various methods of form validation. These validation methods include client-side, server-side, and custom validation; CAPTCHA images; and Spry validation fields. You'll also see how to set up a PHP testing environment and preview PHP pages in Dreamweaver. Along the way you'll build your skills in areas like using admin consoles, commenting code, working with variables and includes, and much more.
- Installing XAMPP on a Windows system
- Installing MAMP on a Mac system
- Using admin consoles
- Creating PHP pages
- Commenting code
- Working with web forms
- Adding custom validation
- Using redirects
- Dealing with email issues
Using CAPTCHA images
I want to talk about a CAPTCHA image and make you aware of what this is. This is something that we're going to take a look at in this course, so you will need to sign up, if you want to use this feature, for CAPTCHA. So, I wanted to give you some information about it and also head you in the right direction so you can sign up for a CAPTCHA account. I'll kind of show you how the process works in this movie. What we'll do is take your specific account information.
If you sign up, you get your own information. And that is the information to put into the area within chapter seven on reCAPTCHA. But let's talk about what a CAPTCHA image is in general. Now a capture image notice it says telling humans and computers apart. So I might CAPTCHA.net. And this is actually what this acronym means: Completely Automatic Public Turing Test to Tell Computers and Humans Apart.
And these four people created this process at Carnegie Mellon back in 2000. The idea is a machine cannot look at an image such as this and be able to decipher what it says and type it in this area. So this is supposed to block anybody from writing programs where a computer can fill out forms and submit them. So it's supposed to make your forms work a little bit better. In other words, it's another way to validate a form. So that is CAPTCHA, in general.
Now, what has occurred is, reCAPTCHA came out, a particular type of CAPTCHA. And it's been available for anybody to use across their website. During this time frame, between when this was created and now, Google purchased, or it's under their license. Notice it says Google down at the bottom here. So it is set up if you have a Google account.
You have access to reCAPTCHA. If you don't have a Google account, you simply sign up for a separate reCAPTCHA. But what is reCAPTCHA? Well this specific version of CAPTCHA, which is one that anybody can use, helps digitize books, which is kind of interesting. They have images of old books that they're trying to digitize and anytime you use reCAPTCHA your actually helping that process.
In a reCAPTCHA image, what it does is give you two words, the idea is if one word is correct more than likely the other word is correct as well. And one of those two words you type in here is actually coming from an image from old book content. The idea is if you get the one image correct, you must be a human and more than likely this one is correct. And then they have some algorithm as soon as it gets to be a certain percentage of these being correct, it compares them and that becomes the actual digitized text for that word so it's kind of interesting.
It's also highly accessible to blind people. So, how do you get one of these accounts in order to work with it you go over to get reCAPTCHA and you click this Sign up Now button. Once you sign up for an account you have to put in some kind of domain names and that is one of the domains that you can use for your account. Now I am on my Google account so I can immediately pull in a domain name.
If you don't have a Google account then you will need to create a reCAPTCHA account. If you do have a Google account, you can sign in on that account. So if I sign out specifically here, notice it sends me to my Google account. And I'll go to sign up once again. So I'll start that process as if you're doing it. So, here's all kinds of information about reCAPTCHA. So I have signed out of my Google account as you can see I'll go over to the CAPTCHA site I can click this link here get a free CAPTCHA for your site once I move over here I click the sign up now button.
You can see it tells you it's now part of Google. And if you don't have a Google account, you will need to create one here. And then walk through the process. I'll go ahead and sign into my account, because I want to be able to show you how this works. I will say not now. Now, once I am in here, I can put local host, which is what you would be using for this course. And you would click on Create Key. Once you click on create key, there is a key, a public key and a private key. So there are two different long strings of text information. What I want you to do, is plug local host in here and click Create Key. The next page you go to will give you a line of text that shows your public key and a line of text that shows you your private key. And it's quite a long line of text.
And what you want to do is copy both of those, and I would suggest you put it into Notepad > Text Edit > Word, somewhere where you can copy and paste it out, because when we go to use reCAPTCHA, we're going to need your public key to put into one spot, and your private key to put into another. Since I already have a key I can't walk you through that process, so click Create Key, if you don't have a Google account you will need to create one in order to work with this. Otherwise you're welcome to just watch what I do in the reCAPTCHA piece, so you understand the process if you'd rather not do this now. But the assumption is, when we get to reCAPTCHA, that you've already signed up for your own personal reCAPTCHA key.
There are currently no FAQs about Dynamic Dreamweaver Websites: Creating and Validating Forms.