Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - CAPTCHA Not working
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedCAPTCHA Not working

 Post Reply Post Reply
Author
WebCity View Drop Down
Groupie
Groupie
Avatar

Joined: 11 December 2003
Location: United States
Status: Offline
Points: 154
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebCity Quote  Post ReplyReply Direct Link To This Post Topic: CAPTCHA Not working
    Posted: 02 August 2006 at 9:23am
I am trying to put this in a login form I have everything right but the images will not show up nor will the reload image link
 
 
<form name="Login" method="POST" action="check_user.asp">
  <div align="center">
    <p style="margin-top: 0; margin-bottom: 0" align="left">&nbsp;</p>
  <table width="401" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td align="right" height="47" valign="bottom" width="82">
      <p style="margin-top: 0; margin-bottom: 0">User name: </td>
      <td height="47" valign="bottom" width="319">
        <p style="margin-top: 0; margin-bottom: 0">
        &nbsp;&nbsp;
        <input type="text" name="txtUserName">
      </td>
    </tr>
    <tr>
      <td align="right" width="82">
      <p style="margin-top: 0; margin-bottom: 0">Password: </td>
      <td width="319">
        <p style="margin-top: 0; margin-bottom: 0">
        &nbsp;&nbsp;
        <input type="password" name="txtUserPass">
      </td>
    </tr>
    <tr>
      <td align="right" width="82">
      &nbsp;</td>
      <td width="319">
         <p style="margin-top: 0; margin-bottom: 0">Enter the code exactly as you see it in the image:-<br />
                <span class="small">(Cookies must be enabled)</span></p>
         <p style="margin-top: 0; margin-bottom: 0"><!--#include file="CAPTCHA/CAPTCHA_form_inc.asp" --></td>
    </tr>
    <tr>
      <td align="right" height="44" width="82">&nbsp;</td>
      <td height="44" width="319">
        <p style="margin-top: 0; margin-bottom: 0">
        <input type="submit" name="Submit" value="Enter">
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input type="reset" name="Submit2" value="Reset">
      </td>
    </tr>
  </table>
  </div>
</form>
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 02 August 2006 at 9:47am
If you turn off friendly HTTP error in IE, then go directly to the CAPTCHA/CAPTCHA_form_inc.asp file in your browser it should either display the image or an error message.

This should help track down what the problem is.
Back to Top
WebCity View Drop Down
Groupie
Groupie
Avatar

Joined: 11 December 2003
Location: United States
Status: Offline
Points: 154
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebCity Quote  Post ReplyReply Direct Link To This Post Posted: 02 August 2006 at 9:58am
Originally posted by -boRg- -boRg- wrote:

If you turn off friendly HTTP error in IE, then go directly to the CAPTCHA/CAPTCHA_form_inc.asp file in your browser it should either display the image or an error message.

This should help track down what the problem is.
 
I don't have friendly http error on It doesn't give an error it just doesn't show the file at all.  When I goto the catcha_form_inc.asp file is says contact webmaster if you cant see images!
 
but if I got to the example.asp file it works just fine
 
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 02 August 2006 at 10:06am
Sorry the file I should have said was:-

/CAPTCHA/CAPTCHA_image.asp

If you go to this file then the image loads with no problem.

The problem is that you have either moved or changed the file path to the security image.

If you look at the path to the CAPTCHA_image.asp in your code it says:-

/CAPTCHA/CAPTCHA/CAPTCHA_image.asp

The path is incorrect to the file, it should be something like:-

CAPTCHA/CAPTCHA_image.asp

Have a mess around with the path to the CAPTCHA_image.asp as it is the path to this file that is incorrect.

Edited by -boRg- - 02 August 2006 at 10:08am
Back to Top
WebCity View Drop Down
Groupie
Groupie
Avatar

Joined: 11 December 2003
Location: United States
Status: Offline
Points: 154
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebCity Quote  Post ReplyReply Direct Link To This Post Posted: 02 August 2006 at 10:39am
Hello I did change the code so that the CAPTCHA_form_inc.asp wold find the image file but when I try to see the code work in my login form it doesn't work.  I can type my user name and pass and it will log right it.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 02 August 2006 at 11:24am
Have you included the code in the page you are submitting to that checks to see if the code is entered correctly and performs an action if it isn't.
Back to Top
WebCity View Drop Down
Groupie
Groupie
Avatar

Joined: 11 December 2003
Location: United States
Status: Offline
Points: 154
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebCity Quote  Post ReplyReply Direct Link To This Post Posted: 02 August 2006 at 3:45pm
Big OOPS my login form was a htm file not a asp! I changed it to a asp and I was able to see the codes
 
I guess thats what happens when you spend most the night looking at code.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.