Reply to Re: Select random files out of a directory
Posted by Hendri Kurniawan on 01/05/07 05:08
Yes...
See opendir, readdir, rand
And get creative
Hendri Kurniawan
howa wrote:
> for example, there are 10K files in the directory,
>
> given that i don't know if files name, is it possible to fetch a file
> randomly?
>
> thanks.
>