LuisDesigns wrote:
> i clicked the link and i am a lil confused, i am sorry .
What would i need to put in to replace scandir() ?
> would i use opendir($dir) instead ?
On that page, example 486 shows you how to do something with
scandir();
example 487 shows you how to do the same with PHP 4 functions
using
opendir(). Lower down the page is a link to opendir(), which
gives you
more information on how opendir() works.
At the moment, Luis, your problem seems to be that you're
looking for
"the answer" to specific problems. Occasionally, you'll find
exactly
what you're looking for, but the real value of working with a
language
like PHP is that it lets you create your own solutions.
Test the scandir() example. Test the opendir() example. See
where
they're similar. See where they're different. Try the
examples on the
opendir() page. It's like learning to walk. It takes lots of
practice,
but then suddenly it all comes together.
--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/