This example can be used on domain 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/monthSimple cloud hosting, built for developers. Signup here and receive $10 in credits!
WebfactionShared hosting for developersFlexible hosting without having to maintain your own cloud servers. Start your free trial »

Related PHP functions:

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.