...that would go through one dir up (../) and find all directories. Then search those, and find all the directories. And so on. And it will put them all in an array, with the starting with ../ and the directory structure. Does that make sense? O.o
sounds like you are trying to make a hacking script... and more than likely that isn't going to work...
No, I'm trying to make a script so that I can get a list of directories for a file manager. That's not a nice accusation to make without proof.
lol it wasn't an accusation, i was just telling you that if it was for hacking that it wouldn't work in general...
Why would I want to hack something? *looks evil* Just kidding. Sorry, it's just someone accused me of hacking a certain site on that sites forums once, and everyone believed them.
have you looked at hotscripts.com and searched with google?
You will easily find one
Nevermind, I found one.
About the hotscript, none of them were simple enough.
It will help if you specify the scripting language
he did specify the scripting language when he entered the forum... the title of the forum is php&mysql