You are here: Validate domain name context « PHP Programming Language « IT news, forums, messages
Validate domain name context

Posted by Sam on 01/27/07 18:42

Validate domain name context

Hello , Today I want to make sure from a given text is a domain style
or not.

for example : the domain can be

example.com or example.com.us or example.us so , what is the pattren
to check the given string is a domain style or not?

note that the first text must be at least 2 chars and the second text
may be 2 or 3 chars and the last text must be 2 chars or null.

Thanks,
Sam Shannaq

 

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

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