form file button

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
kevrelland
Forum Commoner
Posts: 73
Joined: Mon Jan 08, 2007 7:41 am

form file button

Post by kevrelland »

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
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: form file button

Post by Christopher »

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

Post by websitesca »

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
Post Reply