Online Chat
 Call Us: 
Browse Submit a Ticket
Advanced Search
Rss Categories

I am trying to have the form include the attachment, but the attachment does not come through.

Author: Antony Corsten Reference Number: AA-00221 Views: 5033 Last Updated: 11/02/2011 12:41 PM 45 Rating/ 5 Voters

In PHP settings on your server is set  "upload_max_filesize" parameter (you can go to URL and see it). Try to attach file with size lesser than it is set in upload_max_filesize and you will see that it will be delivered. Please ask your ISP to increase upload_max_filesize parameter.
After that you need to insert following hidden field in HTML code of your form after <form> tag

<input type="hidden" name="max_file_size" value="N">

where N - is maximum file size in Kilobytes (it have to be lesser than upload_max_filesize).

User upload file on the server. Server attaches this file to email and deletes it. So no files are hold on the server.