suad wrote:

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?


http://php.net/glob or http://php.net/readdir

-Stut

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

Reply via email to