Jump to content


Photo

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


  • Please log in to reply
2 replies to this topic

#1 paulgc34

paulgc34
  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 04 July 2006 - 02:34 PM

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. :-\

#2 michaellunsford

michaellunsford
  • Members
  • PipPipPip
  • Advanced Member
  • 1,023 posts
  • LocationLouisiana, USA

Posted 04 July 2006 - 04:17 PM

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

do {
  do_something_with(current($_FILES));
}while(next($_FILES));

Email might be a little tougher. Check out this tutorial:
http://www.phpfreaks...chments/260.php

#3 paulgc34

paulgc34
  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 04 July 2006 - 04:19 PM

thank you. I'll check it out.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users