SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast MSWD's Avatar
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Form-based File Upload in HTML

    Is there a simple way to allow a user to fill out a form in html and then browse & upload a file to the server at the same time?

    Any and all guidance would be greatly appreciated!

    MSWD

  2. #2
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    All you need to do on the HTML side is to include a <input type="file"> element. Then you'll need a receiving server-side application to deal with the upload, though. It's quite easy in PHP, but very awkward in classic ASP. I haven't tried it in J2EE and I don't use .NET, so someone else will have to chip in with info about those.
    Birnam wood is come to Dunsinane


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •