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.

DigitalOceanSSD Cloud Server from $5/month by DigitalOcean, simple cloud hosting, built for developers. Receive $10 in credits »
ServerPilotServerPilot is the best way to run WordPress and PHP sites on your DigitalOcean servers. First month free »

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.