Hi, from the manual: int ereg ( string pattern, string string [, array regs])
but ereg should return a boolean not an integer isn't it? Thanks for your work. Bye. Eugenio. -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php