Click to See Complete Forum and Search --> : <input type="directory(?)" name="file">


Khrysller
03-11-2003, 11:02 AM
Hellow People,

I am doing a form, everthing works fine, but I need a input to get the directory instead of file, the:

<input type="file" name="file" size="20">

can get only files, but if the directory is null, the "Open" button don't do nothing, thereīs a way to make a "directory" browsing?

Thanks in advance.

nkaisare
03-11-2003, 02:06 PM
You will need a cgi script (or any other serverside method) to display the contents of your directory.

Khrysller
03-11-2003, 02:13 PM
Originally posted by nkaisare
You will need a cgi script (or any other serverside method) to display the contents of your directory.

Hello, thanks for your reply, but, I donīt need the content. I just need the path of the directory, like I saw, with the "file" method I can get, but if the folder is empty, the "open" button from the browser windows will do nothing :)

Thanks again 4 the reaply.