+ Reply to Thread
Results 1 to 7 of 7

Thread: Attachments not showing in "thanks" page

  1. #1
    Join Date
    Jun 2005
    Location
    Ontario, Canada
    Posts
    10

    Default Attachments not showing in "thanks" page

    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

  2. #2
    Join Date
    Dec 2003
    Posts
    3,901

    Default Re: Attachments not showing in "thanks" page

    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/

  3. #3
    Join Date
    Jun 2005
    Location
    Ontario, Canada
    Posts
    10

    Default Re: Attachments not showing in "thanks" page

    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

  4. #4
    Join Date
    Dec 2003
    Posts
    3,901

    Default Re: Attachments not showing in "thanks" page

    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/

  5. #5
    Join Date
    Jun 2005
    Location
    Ontario, Canada
    Posts
    10

    Default Re: Attachments not showing in "thanks" page

    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>

  6. #6
    Join Date
    Dec 2003
    Posts
    3,901

    Default Re: Attachments not showing in "thanks" page

    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/

  7. #7
    Join Date
    Jun 2005
    Location
    Ontario, Canada
    Posts
    10

    Default Re: Attachments not showing in "thanks" page

    Thank you for your help Russell.


    Patti

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Problem with file Attachments
    By lemonade in forum FormMail Subscription Support
    Replies: 3
    Last Post: 16-Aug-2005, 09:24 PM
  2. No "Sender" of the email
    By lemonade in forum FormMail Subscription Support
    Replies: 1
    Last Post: 28-Jun-2004, 09:11 PM
  3. "Internal Server Error": What'd I do wrong?
    By sgodun in forum FormMail Subscription Support
    Replies: 4
    Last Post: 16-May-2004, 01:01 AM
  4. Spiders and "The form has an internal error"
    By russellr in forum FormMail Subscription Support
    Replies: 0
    Last Post: 13-May-2004, 10:11 PM
  5. Email contains no "mesg"
    By xuric in forum FormMail Subscription Support
    Replies: 1
    Last Post: 19-Apr-2004, 09:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts