This example can be used on web hosting websites where after the check the current domain name is offered for registration. For example: If the domain name is free show a web form for registration or a form for the domain transfer. With every request in this class a boolean variable is set and can be used as a checkpoint to show a part of page or not. Of course it's also possible to redirect to another web pages.

MoosendMoosend, the All-in-One marketing platform your business deserves. Start free today »
CloudwaysCloudways The Ultimate Managed Cloud Hosting Platform. Start Your Free Trial » No Credit Card Required.

This example is powered with Xajax, a PHP class whixh is not included in the class download, if you like to know how this works, please visit our post about ajax whois requests.