email forms with file upload feature

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • betolito
    Registered User
    • Sep 2004
    • 30

    #1

    email forms with file upload feature

    Hi, I'd like to thank everyone again for helping me out with that sql dilemma.

    I have a new one(dilemma) I need to create an email form with a 'file(picture) upload ' feature. I am actually using DreamWeaver to build the html form of it.

    The form could be emailed or stored on a database, doesn't matter.

    Thanks to everyone for all the help!


    Beto
  • dexterlab
    Registered User
    • Aug 2004
    • 8

    #2
    what's your question?
    Are you wondering how to upload a file or how to store it?
    You'll have to store it in your database as a byte[]
    Depending on what db you're using, the type on the column is different. For MySQL, it's type 'text'

    On the form, you'd need to encode it like:
    ENCTYPE="multipart/form-data"

    does that help?

    Comment

    • betolito
      Registered User
      • Sep 2004
      • 30

      #3
      Thanks Dexterlab, I meant I needed a feature that will allow the visitor to upload a file(image) somewhere to my server.

      I will try the line of code you pasted on your post.


      thanks again,
      Beto

      Comment

      Working...