*** Fred Atkinson wrote/escribió (Wed, 16 Jun 2004 15:34:18 GMT):
Is there a function that returns the number of lines in a text
file? If so, what is it?
If it's a Unix/Linux server:
$lines=trim(`wc --lines < /path/to/file`);
--
--
-- Álvaro G. Vicario - Burgos, Spain
--