close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Captcha Code isn't Validating

Thread began 10/16/2009 7:25 pm by carlene | Last modified 10/22/2009 2:12 pm by Jason Byrnes | 2274 views | 5 replies |

carleneBeta Tester

Captcha Code isn't Validating

Hello!! I've implemented your Captcha on a page and am getting lots o' validation errors on your Captcha code.

To make sure it wasn't me I uploaded the sample_contact_styled.php (from the Contact solution kit) to my server and ran the Wc3 validation on it and it returned the same errors for the Captcha.

Could you guys please check on this? validator.w3.org/

Otherwise the Captcha seems pretty sound.

Thanks!

Carlene

Sign in to reply to this post

Jason ByrnesWebAssist

change:

php:
<img  src="WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php?noisecolor=<?php echo $WAGLOBAL_Captcha_Noise?>&bgcolor=<?php echo $WAGLOBAL_Captcha_BG?>&textcolor=<?php echo $WAGLOBAL_Captcha_Text?>&transparent=<?php echo $WAGLOBAL_Captcha_BG_transparent?>&characters=<?php echo $WAGLOBAL_Captcha_Characters?>&width=<?php echo $WAGLOBAL_Captcha_Width?>&height=<?php echo $WAGLOBAL_Captcha_Height?>&font=<?php echo $WAGLOBAL_Captcha_Font?>&gridfreq=0" alt="security code" />




php:
<img  src="WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php?noisecolor=<?php echo $WAGLOBAL_Captcha_Noise?>&bgcolor=<?php echo $WAGLOBAL_Captcha_BG?>&textcolor=<?php echo $WAGLOBAL_Captcha_Text?>&transparent=<?php echo $WAGLOBAL_Captcha_BG_transparent?>&characters=<?php echo $WAGLOBAL_Captcha_Characters?>&width=<?php echo $WAGLOBAL_Captcha_Width?>&height=<?php echo $WAGLOBAL_Captcha_Height?>&font=<?php echo $WAGLOBAL_Captcha_Font?>&gridfreq=0" alt="security code" />
Sign in to reply to this post

carleneBeta Tester

Sorry - I need to redefine Validation

I mean that the markup does not validate with the W3C's validation. They are reporting problems with the code. Not that it doesn't validate on the form. (Too many uses of the word Validate.) If you try the sample page as it is posted on a server and go to the W3C site and try to validate the page you will see what I mean. They report issues.

Please alert the programmers because this is a solution that we purchased and it should be valid as far as the W3C is concerned. I'm trying to get my entire site up to W3C validation. It's quite a task when there are purchased scripts that come in invalid.

Thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

You cant upload a PHP page to the HTML Validator.


That is a limitation of the W3C's validation web service.

To validate a PHP page using the W3C's validation service, you must upload the php page to a remote host and validate the remote copy.

The W3C validation service cannot process PHP code. Only HTML code.

Sign in to reply to this post

carleneBeta Tester

Hi Jason,

Yes - I of course realize that the source page must be on a server first. I've had many PHP pages validate with this site however.

Sign in to reply to this post

Jason ByrnesWebAssist

Are you using the Validate By Upload option or the Validate by URI option on the W3C validator page?


a php page cannot be validated using the Validate By Upload option. It can only be validated using the Validate by URI.

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...