EscalateSEO Posted August 30, 2012 Share Posted August 30, 2012 I need to make it so that on one of my pages it only shows information to a customer if their domain is active in the system. Should be a simple php statement like if domain.com is active then show a certain message or else show another if the specific domain in the script isn't active. If someone could post the same code for that it would be much appreciated. Thanks for your time! 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted August 30, 2012 Share Posted August 30, 2012 Are you wanting to check if a domain registration is active or if a product/service is active? For a domain you would need to query the tbldomains table and search based on the domain,userid, and status columns. For a product/service you would query the tblhosting table based on the domain, userid and domainstatus. 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.