Page 1 of 1

How to browse for a file by clicking a button?

Posted: Wed Feb 04, 2004 4:29 pm
by drifter
Hi all

So does anyone know how to invoke that Open file window so user can browse his drive and select a file and then the path and name of the file will be written in a text box on a form.

thanx for help

d.

Posted: Wed Feb 04, 2004 5:22 pm
by kettle_drum
<input type="file" name="the_file_the_user_selected">

Posted: Wed Feb 04, 2004 5:41 pm
by Deemo
and also, this is html, so u dont need it to necessarily be echoed or be put in ur php tags