close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Validation with Captcha

Thread began 7/03/2012 2:01 am by Jaffa | Last modified 7/05/2012 12:52 pm by Jason Byrnes | 1663 views | 4 replies |

Jaffa

Validation with Captcha

Just added a captcha security to a very basic to test a form with validation by following the manual but I can't seem to get it to work. I'm using the latest version of Design Extender.

The validation warning shows when the form loads rather than when a wrong code is entered and the form won't submit either.

File attached!

Any help would be appreciated.

Thanks.

Attached Files
contact-plastering.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the first thing to test is to make sure the server is saveing session data correctly.

the following thread has a sessionTesxt.php script that can be used for this:
showpost.php?p=23826&postcount=2

Sign in to reply to this post

Jaffa

Seems to be working fine using this sessionTest.php

So where to now?

Sign in to reply to this post

Ian S

Have you tried adding <?php session_start(); ?> to the top of the page?

Cheers
Ian

Sign in to reply to this post

Jason ByrnesWebAssist

like ian says, add the session start code at line 1.

also turn on error reporting by adding this code:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>




and find this code:

php:
if ($WAFV_Errors != "")  {

    PostResult($WAFV_Redirect,$WAFV_Errors,"contactplastering_617");
  }




and change it to:

php:
if ($WAFV_Errors != "")  {

    die($WAFV_Errors."<pre>".var_dump($_SESSION)."</pre><pre>".var_dump($_POST)."</pre>");
    PostResult($WAFV_Redirect,$WAFV_Errors,"contactplastering_617");
  }




this will help us troubleshoot what is going wrong

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...