[PHP3] PHP3 to check for correct URL From: Derek from CD Baby (derek <email protected>)
Date: 11/30/99

Is there a way to use PHP3 to check if a URL that someone's entering is
correct?

I don't mean the REGEX checking - I mean actually sending out a little
"bot" - or trying to open the URL - and seeing if it returns a "1" or a "0" ?

Also would this work for other types of files?

We ask people to give us the exact URL to find their MP3 files on the
web. I would love pHP3 to check to make sure that's a URL that actually
goes to an MP3 file.

Lemme know whatcha think!

Thanks!

Derek Sivers
linuxbaby <email protected>

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>