-
☆ A M B ☆
- 711 Posts
Hi All,
I’m currently porting my web hosting site to modx and thought I would share this new snippet for checking if domain names are available:
Enjoy
-
☆ A M B ☆
- 711 Posts
An example of the script in action can be found here:
http://www.spcs.eu/whois.html
Nice, but after submitting a name the page reloads and the text box contains "1".
Andy
-
☆ A M B ☆
- 711 Posts
Yup a coding typo I noticied doing a search on a domain name takes ages with this script:
MySQL: 0.0030 s, 6 request(s), PHP: 4.6706 s, total: 4.6736 s
However I’m just working with a new one using www.enom.com API getting times like this now
MySQL: 0.0035 s, 8 request(s), PHP: 0.5007 s, total: 0.5043 s
If anyone is interested in the enom api one or needs an enom reseller account let me know.
Thanks