Validating an Image of Characters (COPA)

Thread Solved

Join Date: Dec 2007
Posts: 608
Reputation: OmniX is an unknown quantity at this point 
Solved Threads: 8
OmniX's Avatar
OmniX OmniX is offline Offline
Practically a Master Poster

Validating an Image of Characters (COPA)

 
0
  #1
Oct 8th, 2008
Hi guys

You know when you enter a registration page with a textbox saying enter the characters that corespond to the image. I heard its called COPA or something.

Anyone has any tutorials on how to make a page like this?

Thankyou, Regards X
"You never stop learning." - OmniX
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 1,072
Reputation: Shanti Chepuru is on a distinguished road 
Solved Threads: 98
Shanti Chepuru's Avatar
Shanti Chepuru Shanti Chepuru is offline Offline
Veteran Poster

Re: Validating an Image of Characters (COPA)

 
1
  #2
Oct 8th, 2008
hello..
that is CAPTCHA ..means creating dynamic number on an image...
It is used to prevent spam abuse on the websites
For more information:
http://www.webcheatsheet.com/PHP/cre...protection.php
Be intelligent, But Don't try to cheat.. Be innocent But Don't get cheated..
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 608
Reputation: OmniX is an unknown quantity at this point 
Solved Threads: 8
OmniX's Avatar
OmniX OmniX is offline Offline
Practically a Master Poster

Re: Validating an Image of Characters (COPA)

 
0
  #3
Oct 9th, 2008
Shanti you might be able to help me or if anyone else can.

I did the below tutorial (which was very helpful btw) but I was unable to produce the CAPTCHA within an html page it becomes as JARGAN instead of an IMAGE (I can get an image).

It may also help to mention I have the php and html all in the same page.
Last edited by OmniX; Oct 9th, 2008 at 12:27 pm.
"You never stop learning." - OmniX
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 87
Reputation: TopDogger is an unknown quantity at this point 
Solved Threads: 5
TopDogger's Avatar
TopDogger TopDogger is offline Offline
Junior Poster in Training

Re: Validating an Image of Characters (COPA)

 
0
  #4
Oct 9th, 2008
What is a JARGAN?

In order for CAPTCHA to work, you need to have GD support in PHP enabled on your server. It has been included with PHP since version 4.3, but it might not be enabled.

You might not have that with free hosting services. If you are not seeing CAPTCHA characters, then check with your hosting company about GD support.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 1,606
Reputation: scru has a spectacular aura about scru has a spectacular aura about 
Solved Threads: 130
Featured Poster
scru's Avatar
scru scru is offline Offline
Posting Virtuoso

Re: Validating an Image of Characters (COPA)

 
0
  #5
Oct 9th, 2008
Try http://recaptcha.net for a free captcha library. Using this library aides in the digitizing of books. Also, the image generation is handled by their servers, not yours.
Last edited by scru; Oct 9th, 2008 at 1:38 pm.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 524
Reputation: Will Gresham is on a distinguished road 
Solved Threads: 86
Sponsor
Will Gresham's Avatar
Will Gresham Will Gresham is offline Offline
Posting Pro

Re: Validating an Image of Characters (COPA)

 
0
  #6
Oct 9th, 2008
Make sure you have the GD library installed/configured on your server to use the first example.
Last edited by Will Gresham; Oct 9th, 2008 at 1:37 pm.
AJAX is not a programming language, scripting language or any other sort of language.
It is acheived by using JavaScript http functions.
So, AJAX = JavaScript.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 608
Reputation: OmniX is an unknown quantity at this point 
Solved Threads: 8
OmniX's Avatar
OmniX OmniX is offline Offline
Practically a Master Poster

Re: Validating an Image of Characters (COPA)

 
0
  #7
Oct 10th, 2008
Thanks guys for the information.
But I found the solution in another tutorial.

I didnt realize you cannot mix the php code to generate an image and the html code.

It has to be imported using an img tag.

Anyways problem solved and I just gota try getting it working now.

Thanks, Regards X
"You never stop learning." - OmniX
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC