Close

Results 1 to 7 of 7
  1. #1
    DF VIP Member hitmandk1985's Avatar
    Join Date
    Jul 2002
    Location
    Slough, Berkshire
    Posts
    154
    Thanks
    4
    Thanked:        2
    Karma Level
    271

    Default Online Form with Document Upload

    Hi all,

    I was wondering if someone can give me some advice.

    I'm trying to make an online form at the moment, but I want to include a document uploader aswell. So for instance, people can upload a .pdf file or .doc file to a location and then submit this to say an email address.

    Does anyone know the best way of approaching this?

    Many thanks

  2. #2
    DF VIP Member StephenDon24's Avatar
    Join Date
    May 2007
    Location
    Manchester
    Posts
    972
    Thanks
    0
    Thanked:        0
    Karma Level
    257

    Default Re: Online Form with Document Upload

    Any server side language will do it. PHP or ASP etc. Have a look at hotscripts - there are quite a few but be very careful as document uploading can be a massive security exploit if done wrong

  3. #3
    DF VIP Member hitmandk1985's Avatar
    Join Date
    Jul 2002
    Location
    Slough, Berkshire
    Posts
    154
    Thanks
    4
    Thanked:        2
    Karma Level
    271

    Default Re: Online Form with Document Upload

    So do you think I would be able to have a form where people can enter there information and upload a doc and have this information forward to an email?

  4. #4
    DF VIP Member StephenDon24's Avatar
    Join Date
    May 2007
    Location
    Manchester
    Posts
    972
    Thanks
    0
    Thanked:        0
    Karma Level
    257

    Default Re: Online Form with Document Upload

    Yup. I have done it with php before (albeit seperatelty but no reason it wouldn't work as one script). If using php try either a script called natemail or phpmailer. have used both in pas and they are easy to use. If i recall natemail is set to send a form by email. Phpmailer is a dman fine class taht makes sending mail dead easy so just attach it to your $_POST script

  5. #5
    DF VIP Member BBK's Avatar
    Join Date
    May 2006
    Location
    here
    Posts
    12,422
    Thanks
    234
    Thanked:        128
    Karma Level
    1084

    Default Re: Online Form with Document Upload

    Don't forget the single most important thing:

    enctype="multipart/form-data"

    You need to put that in your opening <form tag or it won't recognise the file

  6. #6
    DF VIP Member hitmandk1985's Avatar
    Join Date
    Jul 2002
    Location
    Slough, Berkshire
    Posts
    154
    Thanks
    4
    Thanked:        2
    Karma Level
    271

    Default Re: Online Form with Document Upload

    Sorry to be an idiot.

    I dont know much about PHP stuff so I kinda need some guidance.

    Im a web designer but i dont do much php programming...

    Plz help

  7. #7
    DF VIP Member BBK's Avatar
    Join Date
    May 2006
    Location
    here
    Posts
    12,422
    Thanks
    234
    Thanked:        128
    Karma Level
    1084

    Default Re: Online Form with Document Upload

    PM me on Monday and I'll help you, its easy

Similar Threads

  1. where can you buy swords form the uk online?
    By arv2k in forum Home Audio/Video, Electronic Toys & Gadgets
    Replies: 4
    Last Post: 1st October 2002, 04:24 PM
  2. Online Polls
    By WTD in forum The Dog and Duck
    Replies: 15
    Last Post: 26th September 2002, 01:03 AM
  3. MOHAA Online
    By cooper in forum PC Gaming
    Replies: 4
    Last Post: 7th September 2002, 10:47 PM
  4. Medal Of Honor Online
    By sanic in forum PC Gaming
    Replies: 4
    Last Post: 4th September 2002, 03:37 PM
  5. RTCW online
    By huggles in forum PC Gaming
    Replies: 3
    Last Post: 2nd September 2002, 04:16 PM

Social Networking 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
  •