Re: Test Links...

From: Date: Fri, 26 Sep 2003 18:44:18 +0000
Subject: Re: Test Links...
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-164057@lists.php.net to get a copy of this message
lol...if on linux... On Fri, 2003-09-26 at 12:35, Ray Hunter wrote: > 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 > >

« previous php.general (#164057) next »