Support » Plugin: Really Simple CAPTCHA » CAPTCHA PNG Files Incorrectly Being Generated for Every Page

  • I have a WordPress e-commerce website that has almost 700 web pages. I have added a CAPTCHA field to only two (2) of my web pages: a contact page and a registration page to prevent robots from spamming my site (via the instructions @ But I have noticed that Really Simple Captcha seems to be executing on every single WordPress page that I have (which it shouldn’t be).

    I initially found out about this because a large amount of PNG files were being created in the wp-content/plugins/really-simple-captcha/tmp folder (and I use a cleanup value of 60 minutes), but I hardly ever have anyone register on my site or send me a message via the contact form (the two places where I added the code). So I should only see a PNG image in that folder once in a blue moon. I just checked and there are 56 files in the tmp folder (28 PNG and 28 TXT) and it is early on Sunday morning!

    I then later confirmed this issue because I ran my website against, which measures website performance and shows exactly what files are being loaded into the browser. I noticed that a PNG (from Really Simple Captcha) was being loaded on a web page where it shouldn’t, and the PNG is never displayed. The PNG is also not shown in the page source of the web page. You can view the GTMetrix report here:

    If you click on the Timeline tab, you will notice that there is the following line (about halfway down):

    But if you look at the page source for that web page (, you will notice that there is only one PNG loaded and it isn’t used for CAPTCHA!

    So something is executing Really Simple Captcha for every web page on my web site and I can’t seem to figure out what is causing it. On top of that, the PNG file that is being generated isn’t being used by the web page, so it is just reducing performance for every page that is being loaded.

    Please advise.

    FYI: I’m using Really Simple Captcha 1.7

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Takayuki Miyoshi


    How do you generate this “Register” form?

    Apparently the same form is loaded on every page invisibly.

    Thanks for the quick reply.

    I’m not sure what you are asking, but what makes you say that the register form is “loaded on every page invisibly”? What evidence do you have that brought you to that conclusion?

    Plugin Author Takayuki Miyoshi


    Ok. Do you use any plugin for displaying the “Register” form on the page? Or, is it a theme feature?

    Just by looking at the HTML source of the pages, you’ll notice that every page has the same form as that.

    <div id="register-form">
                <div class="title">
                    <h2><i class="icon-edit"></i> Register</h2>  
                <form method="post" action="" class="wp-user-form">
    				<div class="username">
    					<label for="user_login">Username (required)*: </label>
    					<input type="text" name="user_login" value="" size="20" id="user_login" tabindex="101" />
    				<div class="password">
    					<label for="user_email">E-mail (required)*: </label>
    					<input type="text" name="user_email" value="" size="25" id="user_email" tabindex="102" />
    				<div class="captcha">
    					<label for="user_captcha">CAPTCHA (required)*: </label>
    					<input type="hidden" name="user_captcha_prefix" value="637493189" /><img class="wpcf7-form-control wpcf7-captchac wpcf7-captcha-captcha" alt="captcha" src=""><br />
    					<input type="text" name="user_captcha" value="" size="20" id="user_captcha" tabindex="103" />
    				<div class="login_fields">
    										<input type="submit" name="user-submit" value="Sign up!" class="user-submit" tabindex="104" />
    					<p><br />*A password will be emailed to you.</p>					<input type="hidden" name="redirect_to" value="" />
    					<input type="hidden" name="user-cookie" value="1" />

    Thanks for trying to help.

    << Do you use any plugin for displaying the “Register” form on the page? Or, is it a theme feature? >>

    The registration form is a theme feature. I have modified it and added a CAPTCHA field to it (to prevent spam).

    << Just by looking at the HTML source of the pages, you’ll notice that every page has the same form as that. >>

    I don’t see that. The source you are displaying is from the registration page (, but if you go to the hundreds of other pages on my site the source is very different.

    For example, the home page ( doesn’t contain anything about registration (except for a link to the page).

    Another example is one of the almost 700 image pages, such as:

    which also doesn’t contain anything to do with the registration.

    But yet, all of these pages are making a call to CAPTCHA somehow (and it isn’t in the theme code).

    OK, I see the source code that you quoted above now. I wasn’t seeing it because I was logged in, but when I am logged out I am seeing it.

    Sorry for the confusion. I will try to track down the issue. Thanks for helping.

    If I need your help, I will get back with you.

    Have a great day.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘CAPTCHA PNG Files Incorrectly Being Generated for Every Page’ is closed to new replies.