|
Posted by howa on 01/05/07 05:17
Hendri Kurniawan 寫道:
> 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.
> >
the problem is:
there are too many files in the folder, e.g. over 10K or more, i don't
want to list it
but i know that it must contains 10K files, so it is possible to get ,
say 1020th file under this folder?
[Back to original message]
|