![]() |
recursive glob ?
Good day to you all,
is there a way that I can use glob recursive ly in the following code ? PHP Code:
Thanks! |
If you look down in the comments on the docs page, you will find many solutions. One such being this:
PHP Code:
|
OK, here's a sweet little function I made that does exactly what you need:
PHP Code:
PHP Code:
|
Yes ok,
How can I but one on each line ? Can I also not the parentasis and the "array" word and his number ? How can I display the folder that has folder in it as bold. And the folders that as files in it, as links ? |
It sounds like you don't know much about arrays.. You may want to read this:
http://us.php.net/manual/en/language.types.array.php The function I gave you returns an array which you can loop through and format as you wish. The rest is up to you man. |
Your code skips all files
Quote:
|
Your code skips all files
Quote:
PHP Code:
|
| All times are GMT. The time now is 10:28 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0