is there a script in php to check if a site exists in the world wide web?
- submit a url
- script check if site is existing
- return true if it does
is there a script in php to check if a site exists in the world wide web?
You can just try to issue an HTTP request and see if something comes back.
Whilst firing off an HTTP request will tell you if a site exists, it doesn't tell you whether the domain has been registered but is not currently in use. If this is something that you'd need to be able to do, you need to use a WHOIS service to check whether the domain is registered or not.