depending on what you need, sometimes this does the trick for me :-)
exec("ls path/",$files);
foreach($files as $value)
{
$elem .= $value."\n";
}
echo $elem;
------------------------------------------------------------------
"Few are those who see with their own eyes and feel with their own
hearts."
Albert Einstein
-----------------------------------------------------------------
Maciek Ruckaber Bielecki
On Fri, 27 Dec 2002, Dade Register wrote:
> A question for you all. Is there a php function that
> could count the number of files in a dir? Using
> FreeBSD and php4.2.2 and Apache. Thanx.
> -Dade
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php