Menu

captcha issue

Help
ccorrea
2008-11-18
2013-06-03
  • ccorrea

    ccorrea - 2008-11-18

    I use the same form on several sites, and lately, when I upload the folder with all of the form files to the server and link to a menu, the captcha code does not appear.  The captchasecurityimages.php file is in the form folder.  Any ideas on how can I rectify this? 

    An example can be seen at: 

    http://athomekitty.com/formgen2/tmp/persistent/form18814/form.html

    Thanks - CC

     
    • TNTEverett

      TNTEverett - 2008-11-18

      If you point your browser here:

      http://athomekitty.com/formgen2/tmp/persistent/form18814/captchasecurityimages.php

      You will see that the Captcha code is working.  There must be some issue with how the code is being called from the form file. 

      The code should look like this in the form.html file:
      <img src="CaptchaSecurityImages.php" />

      Make sure the case of the file name matches the file stored on your site (I recommend changing the file name to all lower case and changing the form.html code to be the same). 
      You can also try an explicit link like this:

      <img src="http://athomekitty.com/formgen2/tmp/persistent/form18814/CaptchaSecurityImages.php" />

      I'm not sure what the issue is but the Captcha code is working. 

       
    • ccorrea

      ccorrea - 2008-11-18

      Thanks for that tip, it worked perfectly.  Once I changed CaptchaSecurityImages.php in the form.html file to all lowercase, the image came up on the form. 

      I have a second question - I love these forms, but would like to embed them in the webpage.  I've tried to do it with little success (mostly bullets and image problems, not captcha, but the form itself).

      Any ideas on how I can integrate the form on a webpage with minimal display problems would be greatly appreciated.  I'm pretty good at basic html and hold my own, but I'm no expert and the obvious is not always that way for me! 

      THANK YOU AGAIN.  CC

       
      • TNTEverett

        TNTEverett - 2008-11-18

        It all depends on what you want to use/move.  Assuming you want everything you need to start by opening both files, the form and the page you want to put the form into. 
        The form file has css files and javascript at the top between the first line and the <body> tag.  Don't duplicate any line you already have in the new page just copy the unique lines from the form file to the top of your new file. 
        Note the change to the <body> tag to include onload="collapseAll()".  You need to make this change to. 
        The form file also has javascript at the end of the file but it should be within the <form> and </form> tags.  So now just copy everything from <form> to </form> and paste it into your new file where you want the form to appear.
        It should be that simple but of course there are many variables that can cause problems.  These you just have to work through.  You will not need to make any changes to the processor.php file.  If you get stuck feel free to post agin for additional help. 
        Some words of wisdom:
        Make periodic backups so you can work without loosing original files or any intermediate changes you make. 

         
    • ccorrea

      ccorrea - 2008-11-19

      I'll give this a try and attempt to embed the form into the webpage sometime soon.  I'll let you know how I made out, or if there was an issue. 

      Thanks again, especially for this versatile and easy to use form generator!

      CC

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.