Hi,
Did you change formmail.php at all?
Check that FILEUPLOADS is set to true.
Do you have a copy of your HTML form before you changed it? Put it back and see if it still works.
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
I have been using this formmail for over a year now and it has been working great. Then I went and changed my page and my attachments are not shoing up in my thanks page. All information shows up but the attachments. the form is at http://www.yourownassistant.ca/pages...-form-php.html
and after filling this out it goes to a page which shows what was filled out etc., but the attachments do not show up.
Can someone help me please
Patti
Hi,
Did you change formmail.php at all?
Check that FILEUPLOADS is set to true.
Do you have a copy of your HTML form before you changed it? Put it back and see if it still works.
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
No, no changes to the formmail.php at all. It still shows true for fileupload Changes were made to the form and the new fields changed in the thanks page. Other suggestion?
Patti
Hi,
I just read your post more closely. What do you mean " and my attachments are not shoing up in my thanks page"?
How were attachments showing up in the thanks page previously?
File attachments are not normal fields so I can't see how you would ever have them show up in a page.
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
Not the attachments themselves, but the names of the files attached.
Below is some of the script from the form, the second is the corresponding script from the thanks page. The information from the first field (formrequired) shows up, the teh info from the "uploadedfile" does not.
FORM:
<tr>
<td class="blackbody11"><b>*Form Required</b></td>
<td><input type=text name="FormRequired" size=36,1 maxlength=35></td>
</tr>
.
.
.
<tr>
<td colspan=2 class="blackbody11"><b><font size="+1" face="Times New Roman, Helvetica"color="#336699">You must attach scanned copies of the following:
</font></b></td>
</tr>
<tr>
<td class="blackbody11"><b>*Copy of Title of Proceeding</b></td>
<td><input type="file" name="uploaded_file1" size=29,1></td>
</tr>
THANKS PAGE:
<tr>
<td width=35%>Type of Form:</td>
<td>$FormRequired</td>
</tr>
<tr>
<td width=35%>You attached the following files:</td>
<td>$uploaded_file1</td>
<td>$uploaded_file2</td>
<td>$uploaded_file3</td>
<td>$uploaded_file4</td></tr>
Hi,
OK. I think what has happened is that your hosting provider has upgraded PHP. That's the only reason I think it might have worked previously and now it doesn't.
I'm surprised that the $uploaded_fileX ever displayed anything, but earlier versions of PHP may have allowed something to be shown when FormMail tried to expand these values.
It's certainly not a valid field to try to display, so the behaviour is undefined.
If you'd like to investigate this further, then you might like to ask your hosting provider if they have upgraded PHP recently.
In any case, there is no valid way to show what you want. In theory, FormMail could be improved to support this, but it doesn't do this currently.
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
Thank you for your help Russell.
Patti
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks