PHP Email Form With Attachment
I have searched high and low for a php email script that will allow me to upload an attachment via the webpage and email all the info to the specified recipient. It took digging endless hours on Google to piece one together. I have no idea who wrote the script as I found it on a forum and modified it for my own liking. Anyway, here’s a short tutorial on how to use it.
Download: PHP Email Form
- Download the script and unzip the contents.
- Open the uploader.php file. Scroll to the bottom and you will see a place to enter in the desired email address to which you want the contents emailed.
- Open form.php and copy the contents into your desired php file (This will pull in the form from the uploader.php file).
- Be sure to put a file include at the top of your working php document to include the uploader.php. If you are unsure how to do that, check out this article.
- Upload both files to your server and try it out. Leave a comment if you need help.
**Edit** Sorry but I lost these files when I switched servers. If I find another, I’ll be sure to update this page.
Hi,
I’ve tried the form and it’s working, but i cannot make the Message text area work.
I recive the mails, and the attached files, but no the message.
Could you help me?
Thanks!!
Erik