Looking for control to attach file to a FormMail type form

Discussion in 'Software' started by unclematty, Mar 5, 2007.

  1. unclematty

    unclematty Private First Class

    Hi,
    Do you know of an easy to use control for attaching files to a web form?

    I am looking to create a web page with a form where I can attach a file. Currently when a user submits the form I get all the data from the form emailed to me but rather than get the file that was attached I get the users' local path to the file.

    Thanks.
     
  2. kronus

    kronus Private E-2

    Hi,

    it sounds like you may have an error in your email script, as the file should be sent with the email, unless their are parameters set in place which only allows a certain file size to be sent as an attachment.

    If you don't mind using server space you could always have the file uploaded to a server, but if you do this make sure you have good validation in place to make sure that only certain file types can be uploaded, the last thing you want is someone with a bit of know-how finding your un-validated upload form :D

    copy and paste your code here, if i get enough time i will have a look. if not im sure someone else will be happy to help :)

    Kron
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds