Jump to content

How to implement Domain Search without the client having to logon?


MrYann

Recommended Posts

  • 3 weeks later...

Thanks for your help te. Howerver, If it was as easy, I would'nt ask. It's not working. Morehover, the code of the demo site you rpovided is not even uilt the same way. The demo site and the regular search in my site has a token:

<input type="hidden" name="token" value="b42795c8a90d6ffbfa70f12dbae69a83379e486c" />

 

while the integration code does not.

 

Here is the code I am getting from the tool:

<form action="https://hebergement.guru/clients/domainchecker.php" method="post">
<input type="hidden" name="direct" value="true" />
Domain: <input type="text" name="domain" size="20" /> <select name="ext">
<option>.com</option>
<option>.net</option>
<option>.info</option>
<option>.org</option>
<option>.biz</option>
<option>.mobi</option>
<option>.co</option>
<option>.ca</option>
<option>.me</option>
<option>.fr</option>
</select>
<input type="submit" value="Go" />
</form>

 

Anyone has an idea? Or perhaps a site where the code was implemented?

Link to comment
Share on other sites

if I test the above code locally, it doesn't work with your web site - if I change the URL to use our WHMCS site, it works.

 

in your admin area, if you go to setup -> general settings -> security -> CSRF Tokens: Domain Checker

 

do you have it set to enabled? if you set it to disabled, then the above domainchecker form should work.

 

http://docs.whmcs.com/Security_Tab#CSRF_Tokens:_Domain_Checker

 

By default CSRF tokens are disabled for the domain checker. This allows you to send domain information to WHMCS from an external page. Eg. using the Domain Checker Integration Code on your website.

 

However if you are not using the integration code, you can enable this option and visitors will only be able to use the built-in domain checker pages.

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