I need help in getting a form file button to look at a folder on the server so that i can choose a file name to be inserted into my db
Does anyone know how to do this
Cheers
Kev
form file button
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: form file button
A form file button will only browser the client file system. You need to find or implement a file manager to browse files on the server.
(#10850)
-
websitesca
- Forum Newbie
- Posts: 16
- Joined: Fri Jul 09, 2010 2:47 pm
Re: form file button
You would need to build something rather custom to do this. The browse button for the form tag is really just for the client side of of the website. Depending on your website design, you could use somekind of ajax javascript thingy that would communicate with a script on your server. This script would in turn read files on the file system and shoot that info back to your javascript on the website client side.
Hope that helps!
Georges,
http://www.websites.ca
Hope that helps!
Georges,
http://www.websites.ca