Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Oct 2012
    Posts
    14
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Form with file upload to server

    I hope that I am going to ask this correctly, so here goes.

    I want to create a form that has the ability to choose at least one of three file type options to upload to the website host. Then I want the form to send a email containing all the other pertinent information and a link to the file that was uploaded, in-order to download it.

    The reason I am needing this is the file uploads are going to be quite large and either a link to download it or through ftp would work better for my client.

  • #2
    New Coder
    Join Date
    Oct 2012
    Posts
    14
    Thanks
    5
    Thanked 0 Times in 0 Posts
    Nobody can point me in the right direction to look for what I am wanting??

  • #3
    Regular Coder
    Join Date
    Oct 2004
    Location
    London E4 UK
    Posts
    320
    Thanks
    0
    Thanked 0 Times in 0 Posts
    what skills do you have and have you googled this?

    I only ask because when I did I found an entire free script that not only let me upload a file, in this case a picture, but resize it and rename it. the resizing being the bit I didn;t know how to do

    some extra bits of php and I was away

    I suspect on a forum like this you have to make some of the running and not just hold your hand out expecting a fully working script to be delivered

    http://www.9lessons.info/2009/03/upl...-with-php.html

    that's the link I used, it's php and gives you the code to upload a file, you don;t need to resize, I'm a simpleton with php but managed to get it upload three files from a form and rename them and put them to a folder on the server, I'm sure there's more specific bits of code out there if you look
    Last edited by Tynan; 01-22-2013 at 04:03 PM.

  • #4
    Regular Coder
    Join Date
    Apr 2012
    Location
    St. Louis, MO
    Posts
    985
    Thanks
    7
    Thanked 101 Times in 101 Posts
    If you have any coding experience, it's simple enough to make the form; just remember to make the enctype "multipart/form-data".

    The rest is all server-side code: PHP, ASP, JSP, ColdFusion, etc.
    ^_^

    If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
    *
    The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".

  • #5
    New Coder
    Join Date
    Oct 2012
    Posts
    14
    Thanks
    5
    Thanked 0 Times in 0 Posts
    Thanks Tynan and Wolfshade. I did google it but got so many different answers I was sure where to start.


  •  

    Posting Permissions

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