Ankskv1 Posted May 22, 2021 Share Posted May 22, 2021 May someone help me with my signup form page? I get error " Security code does not match" <code> <div class="signup form-peice"> <form class="signup-form" action="//ifastnet.com/register2.php" method="post"> <div class="form-group"> <label for="name">Username</label> <input type="text" name="username" id="name" class="name"> <span class="error"></span> </div> <div class="form-group"> <label for="email">Email Adderss</label> <input type="email" name="email" id="email" class="email"> <span class="error"></span><br> </div> <div class="form-group"> <select size="1" name="website_category" id="website_category" class="form-select col-auto"> <option>Site Category...</option> <option>Personal</option> <option>Business</option> <option>Hobby</option> <option>Forum</option> <option>Software / Download</option> </select> </div> <div class="form-group"> <select size="1" name="website_language"> <option>Select Language</option> <option>English</option> <option>Non-English</option> </select> </div> <input type="hidden" name="id" value="<?PHP echo $id; ?>"> <div class="form-group"> <label for="password">Password</label> <input type="password" name="password" id="password" class="pass"> <span class="error"></span> </div> <img src="https://ifastnet.com/image.php?id=<?php echo $id ?>"> <div class="form-group"> <label for="number">Enter Captcha</label> <input type="text" name="number" id="number" class=""> <span class="error"></span> </div> <div class="CTA"> <input type="submit" value="Register" name="submit"> <a href="#" class="switch">I have an account</a> </div> </form> </div> </code> Quote Link to comment Share on other sites More sharing options...
MS-DOS Posted May 22, 2021 Share Posted May 22, 2021 Hello, This is the captcha check that the code of the image corresponds to what you put in the field "Enter captcha". Quote Link to comment Share on other sites More sharing options...
Ankskv1 Posted May 22, 2021 Author Share Posted May 22, 2021 Yes I know that, but I get the error even when I write the correct code. Quote Link to comment Share on other sites More sharing options...
Pro Hostinga Posted May 22, 2021 Share Posted May 22, 2021 (edited) @Ankskv1 I don't see any problem with the code. For confirmation I copied the code and put it on my website and it worked. There may be any other issue. Look for the below code in your page at starting (before html code begins) if it isn't present there, just add it there. <?PHP $id = md5(rand(6000,PHP_INT_MAX)); ?> I think that will solve your problem. Edited May 22, 2021 by Pro Hostinga Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.