I have been manulally tweaking a form that I created using PHPFormGen. I have added text fields, drop downs, and radio's sucessfully, but when I try to add a file, the following shows up on my email and I can't seem to find it on my server either. Is there anyway to have the file attached to or in the email and also have it stored on my server?
Field 51:
Field 52:
Field 53:
Field 54: /tmp/php0UoHdC
Field 54 should be the file.
Thanks.
PHPFormGen Question
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Thanks. I actually was forgetting some code, and had the rights to the storage directory wrong. It now sends an email with a link to the file that has been stored on my web server.
Two more questions.
1. If a person fills out a form and leaves off required fields, hits submit, then upon recieving the a list of errors of what was missed, hits "back", the form is reset. How can it be setup to hold the information entered so it does not have to be re-typed? Are cookies the answer?
2. Is it possible to have the uploaded file attached to the outgoing email as well as having it stored on the server?
Thanks.
Two more questions.
1. If a person fills out a form and leaves off required fields, hits submit, then upon recieving the a list of errors of what was missed, hits "back", the form is reset. How can it be setup to hold the information entered so it does not have to be re-typed? Are cookies the answer?
2. Is it possible to have the uploaded file attached to the outgoing email as well as having it stored on the server?
Thanks.