Re: check http link
- From: "gogga" <gregfridman@xxxxxxxxx>
- Date: 29 Oct 2005 14:39:17 -0700
oh, i am looking for something a bit more sophisticated than:
$link = "http://sucks.com/my.zip";
echo "Checking: $link<br><br>\n"; flush();
$fp = @fopen($link, "r");
if (!$fp) { echo "The link is dead!"; }
else { fclose($fp); echo "The link is working!"; }
but this is a good idea, too
.
- References:
- check http link
- From: gogga
- Re: check http link
- From: gogga
- check http link
- Prev by Date: Re: check http link
- Next by Date: Re: php ide editor
- Previous by thread: Re: check http link
- Next by thread: Email attachment not found
- Index(es):