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


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to