PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
How do I obtain a list of files in any given directory? I would need to output them to a select list for someone to choose.... I found this code elsewhere on the forums but it wouldn't output anything at all
it used to glob ../$user/*.* but i want subdirectories so that chooses files as well as subdirectories... how would i change that to glob each subdirectory to?