You are here: Re: How to check a url is valid « PHP Programming Language « IT news, forums, messages
Re: How to check a url is valid

Posted by Bill Karwin on 11/15/05 02:11

Krustov wrote:
> Any recommended methods I could use to check the url is valid before
> accepting it ? .

One thing you could do is resolve the domain name they type in.
Tools like dig or nslookup can do this.

Here's a PHP package (GPL license) that says it does this, but I haven't
used it:
http://www.hotscripts.com/Detailed/47915.html
No doubt there are other similar PHP functions available out there.

Regards,
Bill K.

 

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

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