glob() order of list?
Posted: Sun Jan 03, 2010 5:07 am
I get this warning when I try the glob_onlydir() :
Fatal error: Call to undefined function glob_onlydir() in
but when I use glob(), it does work.
I have XAMPP, php 5.3.0, so I don't understand why it doesn't work...
Are there other alternatives so I only get the directories, using glob()?
I've found a way to fix this. I just used glob("*'10"), seen all the directories end with '10. Now the only problem is, can you sort something with glob()? So the files wich were added the most recently go to the bottom?
Fatal error: Call to undefined function glob_onlydir() in
but when I use glob(), it does work.
I have XAMPP, php 5.3.0, so I don't understand why it doesn't work...
Are there other alternatives so I only get the directories, using glob()?
I've found a way to fix this. I just used glob("*'10"), seen all the directories end with '10. Now the only problem is, can you sort something with glob()? So the files wich were added the most recently go to the bottom?