ClioSport.net

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • Due to ongoing maintenance work some features and functions (including Dark mode!) may be unavailable or visually appear differently.
  • When you purchase through links on our site, we may earn an affiliate commission. Read more here.

web developers/file upload

Car  '02 Monaco Blue 172
I'm in the process of finishing a website and it needs to incorporate an online form that people can fill in, submit, and it sends it through as an email.
This is no probs, but it also needs to incorporate a file upload function, that will upload a file from your hard drive, then attach it to the email!
Anyone seen anything like this before? seen any tutorials etc
ta
 
Yea, LOADS.
Google for "file upload php" for example :p

Upload to temp, attach to the mailer, and then remove I guess?

You'll need to be creative with the PHP a bit.. but hey.. all fun :p
 
I think I wrote a script to do that once ;)


The cool thing with PHP5 is you can now monitor an upload, eg. to display a progress bar back to the user. Combine that with AJAX and you have a nice upload script.
 
You got an example we can see anywhere, i've found a couple that should work, but I think my issue is with wordpress as a cms, it will send the email but the file wont be attached! its doing my head in!
 
I've sorted it cheers guys,
I found a nice php plugin for wordpress that allows you to send an online form and attach a file to the email sent, perfect!
 
Back
Top