Re: PHP code to verify existing URL???
| From: | Steve Werby | Date: | Wed, 04 Apr 2001 14:16:24 +0000 |
| Subject: | Re: PHP code to verify existing URL??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47043@lists.php.net to get a copy of this message | ||
"Mark Eckeard" <meckeard2000@yahoo.com> wrote:
> Does anyone know of any PHP code that will take
> a URL from a form and go to the web & verify if it
> exists?
fopen() will do it. You can use the socket functions. curl can be used if
it was configured into your PHP install. You could also use an existing
open source application like mnogosearch.
> What about search the META tags as well??
Read the manual - there are functions specifically for this (though they
won't work if the meta tags aren't exactly as expected).
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/