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

Posted by ImOk on 07/12/06 15:56

I dont have code for this but you can do it fairly easily with sockets.
(see php docs)

1) create a socket resource
2) connect to the socket on port 80
3) send the URL
4) read the response.

Check for errors on each of the steps above


mindwarp wrote:
> Hi,
>
> 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?
>
> Best regards,
>
> Jules.

 

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

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