although it's a bit klunky (and not entirely correct) to do
things this way, but a simple fopen(); will tell you if
the URL is retrievable or not.

(although i dont think that fopen() handles redirects or any
of those esoteric HTTP features)

but if you want to make sure that a link is there, with
no SSL, redirects, or any other stuff, fopen() should
be more than sufficient.

> -----Original Message-----
> From: Adam Plocher [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 28, 2001 6:09 PM
> To: '[EMAIL PROTECTED]'
> Subject: [PHP] Link Checker
> 
> 
> Is there any function that will allow me to check to see if a link is valid?
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to