Re: How can I get in PHP the number of files in a directory

From: Date: Wed, 31 May 2006 12:37:02 +0000
Subject: Re: How can I get in PHP the number of files in a directory
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-41956@lists.php.net to get a copy of this message
http://www.php.net/manual/en/ref.dir.php suad wrote:
Hi, This is for reading a file: <?php $handle = fopen("/home/rasmus/file.gif", "r"); ?> How can I get in PHP the number of files in the directory (rasmus) and the files names in a loop? Thanks Suad


« previous php.db (#41956) next »