Email Attachment Woes
I am having great difficulties in creating an online form where a visitor can attach a file from their computer that is then emailed to me. In trying to troubleshoot the problem, I created an empty website that I then populated with just the WA Contact Form Solution Pack files. I then modified the contactus.php file by adding a file field element at the top of the form per the WA "Inserting Additional form fields to your Contact Form". I then followed the directions of WA's "How To Include Attachments with your Email form" to indicate the Server Directory and Server File Name entries. I also created a folder in my website, "attachments", and added that to the path for these two entries.
However, this did not work, so I then tried removing the Server Directory entry as identified in the Debugging section of "include" paper. That too, did not work. I also tried NOT specifying the "attachments" folder for the above mentioned server directory and file name combinations, but they too did not work. (Note: Each time I made a change, I uploaded the whole site to make sure I wasn't missing a file somewhere. Note too, that I do get the text fields in the emails I receive, just not the attached file.
I'm enclosing the contactus.php and associated WAUE_contact_1.php files in hopes that someone can see what I am doing wrong. Any thoughts on how I correct this would be greatly appreciated. Thanks in advance.