Ive used curl to test stuff out with too...however, if on link i like to
use wget to test it out. You might not have that option but I have seen
others use fopen or file_get_contents.

HTH,

BigDog

On Fri, 2003-09-26 at 10:15, Doug Coning wrote:
> Greetings All,
> 
> I am creating a 'links' page and was wondering if there was a way in PHP
> to test the response of an outside link?  I'm sure everyone here has
> clicked on a links page link and have a "No Page Found" error because no
> one is keeping the links uptodate.  I was wondering if there was a way
> when a link was clicked to test the link first to see if it is still
> active.  If it isn't active, I would like to remove the link from my
> database.
> 
> Is there a command that tests the results of link?
> 
> Thanks,
> 
> Doug Coning
> American Web Studio
> http://www.americanwebstudio.com
> HTML / FLASH / PHP / MYSQL / FILEMAKER
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to