Posted by Krustov on 07/12/06 17:21
<comp.lang.php>
<mindwarp>
<12 Jul 2006 08:46:15 -0700>
<1152719175.282661.259750@35g2000cwc.googlegroups.com>
> I've looked on this newsgroup on google and on php.net, but I can find
> a work function which will allow me to check if a url exists?
>
> Can anyone provide me with one?
> or point we towards one?
>
$skunk="http://www.emailuser.co.uk";
if (fopen($skunk,'r')===FALSE) {exit;}
Although it doesnt work if the website uses a custom 404 webpage and i
never got around to doing any more work on it .
--
Encrypted email address
www.emailuser.co.uk/?name=KRUSTOV
Navigation:
[Reply to this message]
|