943,608 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Marked Solved
  • Views: 747
  • PHP RSS
Oct 8th, 2008
0

Validating an Image of Characters (COPA)

Expand Post »
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
Reputation Points: 31
Solved Threads: 10
Practically a Master Poster
OmniX is offline Offline
652 posts
since Dec 2007
Oct 8th, 2008
1

Re: Validating an Image of Characters (COPA)

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
Reputation Points: 137
Solved Threads: 162
Posting Virtuoso
Shanti C is offline Offline
1,641 posts
since Jul 2008
Oct 9th, 2008
0

Re: Validating an Image of Characters (COPA)

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.
Reputation Points: 31
Solved Threads: 10
Practically a Master Poster
OmniX is offline Offline
652 posts
since Dec 2007
Oct 9th, 2008
0

Re: Validating an Image of Characters (COPA)

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.
Reputation Points: 15
Solved Threads: 5
Junior Poster in Training
TopDogger is offline Offline
87 posts
since Aug 2005
Oct 9th, 2008
0

Re: Validating an Image of Characters (COPA)

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.
Featured Poster
Reputation Points: 975
Solved Threads: 140
Posting Virtuoso
scru is offline Offline
1,624 posts
since Feb 2007
Oct 9th, 2008
0

Re: Validating an Image of Characters (COPA)

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.
Reputation Points: 96
Solved Threads: 124
Master Poster
Will Gresham is offline Offline
728 posts
since May 2008
Oct 10th, 2008
0

Re: Validating an Image of Characters (COPA)

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
Reputation Points: 31
Solved Threads: 10
Practically a Master Poster
OmniX is offline Offline
652 posts
since Dec 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Please hand me a little help
Next Thread in PHP Forum Timeline: Using include in a URL???





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC