Hi PHPer's,
I am in the process of writing a file cataloging facility that uses PHP4 to generate a web interface to a mySQL database (on WIN-NT). Here is what I want to do:
Open a "browse" window, like the "Choose File" window in Netscape and allow users to browse to a directory. When a directory is chosen, this path will be stored in a variable that is then sent to a field in a mySQL table. I want the user to store a series of "selected" directories in the database - that's all!
Can this even be done with something like PHP? Hmmm. Maybe I should be looking at writing an interface in VBasic? I see helpful commands like "getcwd" and "readdir" in the PHP manual, but can anyone tell me how I can pop-up a window to browse the local file system and select a directory? Oh boy, am I over my head with this one! Code examples would be awesome, or even a discussion on how to approach the problem using other tools like javascript, etc.
Thanks in advance.
kD