Jump to content
Sign in to follow this  
AllanD

domain validation on signup

Recommended Posts

I was wondering if there was something that would validate a domain name when I person signs up for a service. So asdfada.com would come back as in invalid domain name and not allow the sale to go through.

Share this post


Link to post
Share on other sites

What do you mean by validate? WHOIS check or free domain (GMail, Outlook, etc) or something else?

Share this post


Link to post
Share on other sites

Sorry I have an increase with spammer registering under false/invalid domain names such as anything.com instead of an actual domain name. I was wanting to know if there is something that can check the domain name to make sure it is indeed a domain name and something made up. Almost like cpanel does when you enter a domain manually to create an account.

Share this post


Link to post
Share on other sites

There is two options to validate your client email address:

 

1) Validate the Email format (anything@something.com) I think this is already done by WHMCS, it's easy to be done using PHP and/or JavaScript.

 

2) Check if the domain name of this email is a registered domain name, for this use this API Function within this ActionHook if it is invalid (Available Domain) so disable/close client account or even delete it.

Share this post


Link to post
Share on other sites
There is two options to validate your client email address:

 

1) Validate the Email format (anything@something.com) I think this is already done by WHMCS, it's easy to be done using PHP and/or JavaScript.

 

2) Check if the domain name of this email is a registered domain name, for this use this API Function within this ActionHook if it is invalid (Available Domain) so disable/close client account or even delete it.

 

Would you happen to have a tut on how to do these, I tried and I really don't understand.

Share this post


Link to post
Share on other sites

Just wanted to know if anyone could help me. Not good with coding and really lost on how to get this done.

Share this post


Link to post
Share on other sites
Would you happen to have a tut on how to do these, I tried and I really don't understand.

1. as I said it's already done by WHMCS.

 

2. I may write this hook in the next days and share it with you.

Share this post


Link to post
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.

Sign in to follow this  

  • 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