Jump to content

Showing Link to Active Domain


EscalateSEO

Recommended Posts

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!

Link to comment
Share on other sites

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.

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