Re: Correct URL's
| From: | Alexander Weber | Date: | Fri, 25 Jan 2002 09:34:04 +0000 |
| Subject: | Re: Correct URL's | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82076@lists.php.net to get a copy of this message | ||
Stefan Rusterholz wrote:
>
> Part 1.1 Type: Plain Text (text/plain)
> Encoding: quoted-printable
> What was the best way to check, if the give address really exists?
Just try this function:
http://www.php.net/manual/en/function.gethostbyname.php
It returns the IP address of the given domain. Normally a domain can be
accessed by the browser if it has a valid IP address and everything is
configured correctly.
Please do not send HTML messages.
Alexander