You are here: Re: URL Validate « PHP Programming Language « IT news, forums, messages
Re: URL Validate

Posted by Pierre Jelenc on 09/08/06 05:22

Jerry Stuckle <jstucklex@attglobal.net> writes:
> dawnerd wrote:
> > You can always ping the url. If you get a ping back then it is probably
> > valid :p
> Yes, but not getting a ping back doesn't mean it's not there. May
> servers (including mine) are set to ignore ICMP echo requests (pings).

Send a command to GET headers with http_head(). With ftp, I guess
something with ftp_nlist(). In either case, parse the result appro-
priately.

Pierre



--
Pierre Jelenc | New on Home Office Records: Ethan Lipton
| www.homeofficerecords.com www.ethanlipton.com
The Gigometer | Pepper Of The Earth: the HO blog
www.gigometer.com | www.homeofficerecords.com/blog

 

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

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