what u want is there http://www.php.net/eregi All da best Priyantha On Mon, Sep 1, 2008 at 10:11 PM, Francis Lontéo <lonteo@xxxxxxxxx> wrote: > Hello! Need help please; > > I want to check the syntax of domain names entered by users in an input > text or textarea form; > I'd like the script in php to test domain names like domain.xxx and > domain.xxx.yyy > > thanks for help > > [Non-text portions of this message have been removed] > > > -- Priyantha Gunawardena ______________________________________ {Web Designer / Developer} Tel: +94 038-228-4323 Mobi: +94 077-393-8516 Blog: http://www.pgdesigning.com IM : pgdesigning [Non-text portions of this message have been removed]