You are here: Re: Checking a url exists « PHP Programming Language « IT news, forums, messages
Re: Checking a url exists

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация