Jump to content

Archived

This topic is now archived and is closed to further replies.

paulgc34

PHP form with text input and multiple image uploads sent to email.

Recommended Posts

I'm want a form with text input with multiple image uploads with the results sent to my email. Can anyone point me to a source for this. Thanks. :-\

Share this post


Link to post
Share on other sites
you can add multiple <input type="file"> to your source HTML, then on the PHP side, just loop the $_FILES array.

[code]do {
  do_something_with(current($_FILES));
}while(next($_FILES));[/code]

Email might be a little tougher. Check out this tutorial:
http://www.phpfreaks.com/quickcode/Mail-with-attachments/260.php

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.