Go Back   CodingForums.com > :: Client side development > General web building

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-19-2013, 03:11 PM   PM User | #1
IrishDoc
New Coder

 
Join Date: Oct 2012
Posts: 14
Thanks: 5
Thanked 0 Times in 0 Posts
IrishDoc is an unknown quantity at this point
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.
IrishDoc is offline   Reply With Quote
Old 01-22-2013, 12:44 PM   PM User | #2
IrishDoc
New Coder

 
Join Date: Oct 2012
Posts: 14
Thanks: 5
Thanked 0 Times in 0 Posts
IrishDoc is an unknown quantity at this point
Nobody can point me in the right direction to look for what I am wanting??
IrishDoc is offline   Reply With Quote
Old 01-22-2013, 02:34 PM   PM User | #3
Tynan
Regular Coder

 
Join Date: Oct 2004
Location: London E4 UK
Posts: 303
Thanks: 0
Thanked 0 Times in 0 Posts
Tynan is an unknown quantity at this point
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 03:03 PM..
Tynan is offline   Reply With Quote
Old 01-22-2013, 02:43 PM   PM User | #4
WolfShade
Regular Coder

 
Join Date: Apr 2012
Location: St. Louis, MO, USA
Posts: 952
Thanks: 7
Thanked 98 Times in 98 Posts
WolfShade is an unknown quantity at this point
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".
WolfShade is offline   Reply With Quote
Old 01-23-2013, 11:35 AM   PM User | #5
IrishDoc
New Coder

 
Join Date: Oct 2012
Posts: 14
Thanks: 5
Thanked 0 Times in 0 Posts
IrishDoc is an unknown quantity at this point
Thanks Tynan and Wolfshade. I did google it but got so many different answers I was sure where to start.
IrishDoc is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:35 AM.


Advertisement
Log in to turn off these ads.