You are here: Re: eregi expression for checking a domain « PHP « IT news, forums, messages
Re: eregi expression for checking a domain

Posted by Jim Plush on 03/14/05 01:31

also, note I used preg_match instead of ereg, preg is a better choice
over ereg usually (flexibility, speed, etc)


Ross Hulford wrote:
> Does anyone know a working eregi expression for determining a domain is
> valid? don't need the http:// just looking for www.thedomain.com
>
> cheers,
>
>
> R.

 

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

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