Anyone who wants to see the directory and filesystem fiunctions in action
together can go to http://www.invertedmind.com/baby/ (pardon the images,
they're of my nephew, I originally wrote the script because directory
listings are turned off on the server). If you want a copy of the script
you can
Hmm... I'm not familiar with the directory functions yet.
But perhaps you can use `ls -F` somehow -- this prints the name of each
file in the directory with a special character to denote its type. For
directories, this is a forwardslash. I.e:
localhost:~/Documents/Media Lab$ ls -F
(admin)ind
Sorry for the posting, I hadn't looked hard enough. If any of you need something
along the same lines go:
http://www.php.net/manual/en/class.dir.php
Sean
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
3 matches
Mail list logo