Jump to content

CAPTCHA Help For domainchecker.php


vchosting

Recommended Posts

If i turn on the captcha protection for form submissions I have come accross a problem when using the domain form integration code.

 

I have the integration code for the domain name on my home page and if you enter a domain and hit search it takes you to the domainchecker.php page but displays the error enter the correct captha code before it will display the results of the search.

 

What i would like to do is leave the CAPTCHA code switched on for other forms such as tickets to pre-sales etc but disable it purely on the domainchecker.php form if possible. I have looked within domainchecker.tpl and had a play in there but I cant get this to work.

 

Secondly is there a way that from the Domain Itegration Form I can make it automatically display the results for all doamin tld's that I offer irrespective of what they select in the drop down list?

 

Any help would be great!

Link to comment
Share on other sites

Your home page and WHMCS are on the same domain, you should just need to call the php function to start sessions. The captcha code is stored in a session variable and is not being "remembered" internally from when the image loads on the home page.

 

session_start();

 

 

If you're running WHMCS on a subdomain, it gets a bit trickier than that and may require some special php session configuration.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated