|
Posted by Markus Ernst on 07/26/06 12:44
PSI_Orion schrieb:
> I am writing a database which I edit locally using PHP / MySQL / JavaScript.
> What I currently do is to list all my DVD covers from a single folder into a
> drop box but what I would LIKE to do is to have a browsing facility (similar
> to uploading files) which is obviously a lot quicker. However, what I need
> is not an upload file form object, rather a simple click button which will
> open a browser, allow me to select a file and return the name of the file -
> just the file not the full directory structure. Is it possible to either
> just get the file upload form object to return just the name or, using
> either PHP or JavaScript write a function that will do what I need?
>
You could open a window with a page that lists all available files, each
with a link that reloads the main page with the file name as GET
variable. The links also have an onClick handler to close the popup window.
--
Markus
Navigation:
[Reply to this message]
|