![]() |
Getting Extra Files Shown In Folder???
2 Attachment(s)
I am using this code in a PHP script to list all the files in a folder.
PHP Code:
You can see from this screen that i have no other files in the directory but this screen shows the extra in my dropdown menu? Any help? |
See example #2 in the manual (http://php.net/readdir) for how to strip the "dot files". As for why they're there at all, they are standard items in directory listings which represent the current (.) and parent (..) folders (see http://en.wikipedia.org/wiki/Path_(computing)).
|
Awesome thank you! 1 more thing... anyway of sorting the files in alpha order?
|
Two similar ideas:
|
| All times are GMT. The time now is 10:18 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0