here's a sample from the php docs: <?php if ($handle = opendir('.')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { echo "$file\n"; } } closedir($handle); } ?>
you could just modify that to return the number instead of echoing a string. http://us3.php.net/manual/en/function.readdir.php On 1/6/06, Mike Boutin <[EMAIL PROTECTED]> wrote: > > Ok thanks, I think ill give'er a try with php :) > > Ian Thomas wrote: > > >Alternatively, if you're looking in a directory on a server, code up > >something in a server-side language - PHP or whatever - to do the file > >count, and have flash request the result. > > > >HTH, > > Ian > > > >On 1/6/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: > > > > > >>http://www.multidmedia.com/software/zinc/ > >> > >> > >> > >> > >_______________________________________________ > >Flashcoders mailing list > >Flashcoders@chattyfig.figleaf.com > >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders