AllanD Posted December 16, 2015 Share Posted December 16, 2015 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. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted December 16, 2015 Share Posted December 16, 2015 What do you mean by validate? WHOIS check or free domain (GMail, Outlook, etc) or something else? 0 Quote Link to comment Share on other sites More sharing options...
AllanD Posted December 16, 2015 Author Share Posted December 16, 2015 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. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted December 16, 2015 Share Posted December 16, 2015 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. 0 Quote Link to comment Share on other sites More sharing options...
AllanD Posted December 16, 2015 Author Share Posted December 16, 2015 Thank you I will look into both of those options. 0 Quote Link to comment Share on other sites More sharing options...
AllanD Posted December 29, 2015 Author Share Posted December 29, 2015 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. 0 Quote Link to comment Share on other sites More sharing options...
AllanD Posted January 2, 2016 Author Share Posted January 2, 2016 Just wanted to know if anyone could help me. Not good with coding and really lost on how to get this done. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted January 2, 2016 Share Posted January 2, 2016 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. 0 Quote Link to comment Share on other sites More sharing options...
AllanD Posted January 3, 2016 Author Share Posted January 3, 2016 Thank you for this. 0 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.