Forum Moderators: open

Message Too Old, No Replies

html browse button

browsing files

         

Myrnalyn

4:06 pm on Mar 12, 2008 (gmt 0)

10+ Year Member



Hi all,
i am creating a computer-based Real Property Tax System in which the form included the Land Sketch where the property was located.

i just want to scan the sketch of the land location and save it on my files . what should i do to have the browse button that would enable me to point where my files located that contains all the scanned land sketch?

please help me i am glad to apply all your great ideas.

mattur

6:02 pm on Mar 12, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you mean you've got a file upload "Browse" button, and you want to set the default path (i.e. the path where the browse file dialog box opens)? I don't think this is do-able, unfortunately.

Myrnalyn

9:09 pm on Mar 12, 2008 (gmt 0)

10+ Year Member



yes you are right ..please help me on how to create this button.

mattur

9:21 pm on Mar 12, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Myrnalyn,


<form enctype="multipart/form-data" method="post" action="your-upload-script">
<label for="fileupload">File:</label> <input name="fileupload" id="fileupload" type="file"><br>
<input value="Upload File Now" type="submit">
</form>

Then you need a script on your server "your-upload-script" for the form to post to and to handle the uploaded file. This will depend on the hosting you are using, eg PHP, ASP etc.