CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 [RESOLVED] using captcha

Print topic Send  topic

Author Message
REVENSE

Posts: 46
Posted: 05/12/2008, 8:13 AM

hai Guys

how I can include captcha in login form

pls any one out there can give some solution about it

thx

Rev




View profile  Send private message
mentecky

Posts: 321
Posted: 05/12/2008, 8:42 AM

I use QuickCaptcha and it works well. You can download it at http://www.web1marketing.com/resources/tools/quickcaptcha/

It is super easy to implement. I copy the source into a sub folder off the web site root called "quickcaptcha". Then in your form add space for an image and a textbox. Mine is called "verify_code" in this example.

In the HTML editor change the IMG code to look like the following:
<img src="quickcaptcha/imagebuilder.php" border="1">

This will display the image and stores the text version of the code in a session variable named "string".

In your form's OnVerify event add the following code:
  
   if (CCGetSession("string", "") != "" && strtoupper(CCGetParam("verify_code","")) != strtoupper(CCGetSession("string", "")))  
   {  
      $guestbook->Errors->addError("ERROR: Your verification code did not match. Try again.");  
   }  


In the above code $guestbook is the name of my form component.

That's it!!!!

You can see how it looks on my band web site at http://www.grifterrock.com/addgbentry.php

Hope that helps.

Rick
_________________
http://www.ccselite.com
View profile  Send private message
REVENSE

Posts: 46
Posted: 05/13/2008, 8:32 AM

Hai Rick

Thx for the example and the explanation,

now on my login form i can include my own captcha.
i realy apriciate your help :)

thx a lot

rev
View profile  Send private message
mentecky

Posts: 321
Posted: 05/13/2008, 10:06 AM

No problem! I'm glad I could help.

Rick
_________________
http://www.ccselite.com
View profile  Send private message
wkempees


Posts: 1679
Posted: 05/13/2008, 4:18 PM

Just as a stimulance......
Yes is apparently supplying us with a Captcha in the Toolbox.
As far as I and you all can see most of it is distributed in CCS4.

Search your CCS4 directory on Captcha*.*

Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message
mentecky

Posts: 321
Posted: 05/14/2008, 1:30 AM

Quote wkempees:
Just as a stimulance......
Yes is apparently supplying us with a Captcha in the Toolbox.
As far as I and you all can see most of it is distributed in CCS4.

Search your CCS4 directory on Captcha*.*

Walter

That would be great Walter... but this will work for CCS3 and is easy to do for us CCS3 people that aren't sold on CCS4 yet. It also works on CCS4 I see.

CCS4 looks great to me but the ability to edit a lot of the AJAX code seems to be lacking still. I myself am hanging in the CCS3 world for a bit until that is all resolved.
_________________
http://www.ccselite.com
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 05/15/2008, 6:19 AM

Hey wkempees....exactly where in the toolbox is the captcha (or maybe I am looking over it)??
View profile  Send private message
girish_327


Posts: 108
Posted: 05/15/2008, 8:11 AM

You can also use Recaptcha ...

http://www.recaptcha.com/
_________________
Girish Baraskar
Web Designer/Developer
http://www.agnisdesigners.com
http://www.eindianpaintings.com
http://www.realestatekolhapur.com
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 05/15/2008, 5:02 PM

REVENSE
If you don't mind could you please put [RESOLVED] in your title header. Thanks.
View profile  Send private message
wkempees


Posts: 1679
Posted: 05/16/2008, 5:08 AM

@MB It is not in the toolbox.
Some of it seems to be in the release though.
I have it in my toolbox, but the code part is missing upto now.
Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.