Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

PHP form elements; attachment button to attach to result email

New Here ,
Dec 27, 2009 Dec 27, 2009

I have built a form in PHP that uses simple serverside strings from one page to the next, and submits the form results via e-mail. I have accomplished this portion of the form, and it works; however, I am now adding to this form to create a bid sumbission form that functions the same way. Although, in this new bid request form, I want to add a button that allows the user to browse their system files and upload a file that will attach to the result e-mail. I have the button, but cannot figure out how to setup the results page that puts the file attachment on the email to me.

I have used all the tutorials I can find, been through the FAQ's here, and even searched the site for other like questions. So far, I have had no luck- Maybe I am not understanding the process and would appreciate it if someone could walk me through this step-by-step. The code for the form is attached so that you see how it works (both pages).

Message was edited by: WaltMoser

TOPICS
Server side applications
350
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 27, 2009 Dec 27, 2009

The PHP mail() function does not support file attachments. I suggest that you do a Google search for "send attachment by php mail". You'll find a lot of tutorial links.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 27, 2009 Dec 27, 2009
LATEST

I didn't know that PHP mail() doesn't support attachments.

Thank you, I will do some more research in this area.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines