Domain resolving ( not WHOis ) - searched phpdn.net for 1hr.
Posted: Fri Jan 14, 2005 4:18 am
Ok, I realy digged for a while ( almost over 1 hour - here ) and I still dont have definite answer ( on which to start ).
I want my php to check the domain existance ( something like 1st step for starting a crawler ) - and by repeating that to get the list of existing domains.
And the other condition is to check if the site exist ( is operational ) on that domain.
I already know how to create URL generator, I need functions or snippets on how to check the domain existance ( and website presense on it ): if found - echo "HERE IT IS", else if (...) echo "DOMAIN YES, WEBSITE NO" else echo"NO WEBSITE AND NO DOMAIN"
Or just if the website is present ( I will supply the URL lists )
What would be the best idea for coding this - given that I have middle to somewhat high expirience in Php ( and JavaScript ) and MySQL - so none external API's or whatever come in question.
Thanks Ahead !
I want my php to check the domain existance ( something like 1st step for starting a crawler ) - and by repeating that to get the list of existing domains.
And the other condition is to check if the site exist ( is operational ) on that domain.
I already know how to create URL generator, I need functions or snippets on how to check the domain existance ( and website presense on it ): if found - echo "HERE IT IS", else if (...) echo "DOMAIN YES, WEBSITE NO" else echo"NO WEBSITE AND NO DOMAIN"
Or just if the website is present ( I will supply the URL lists )
What would be the best idea for coding this - given that I have middle to somewhat high expirience in Php ( and JavaScript ) and MySQL - so none external API's or whatever come in question.
Thanks Ahead !