valuationbreak evenprofitcontributionforecastshiftqueuingbusiness analysis
accountbasbudgetBAS-I.Cshare valueshort salesinvestment
site mapform1
Browse All Question and Answer Items
Items selected where Item is 535
Questions & Answers
Q: I have created a form that I would like to have the ability for the user to upload a file, I set it for gif, jpg, txt or zip. I set the max size to 50000. The form works fine except for it does not attach a I file. I have contacted our webhost to make sure that "file_uploads" set as "on" in the php server config ... and they are. Any thoughts on what I missed?
A: As outlined in the File Attachments section of the Help file "...the form start tag must include enctype='multipart/form-data' to enable file attachments". Your form tag is <FORM id=form1 name=form1 action='/distributor_quote.php' method=post>. You need the enctype='multipart/form-data' so it becomes <FORM id='form1' name='form1' action='/distributor_quote.php' method='post' enctype='multipart/form-data'>. File attachments can only be sent when the form start tag includes enctype='multipart/form-data'. Also each value should be within ' ' or " " as in method='post' not method=post. This improves the validity of your html code so it runs correctly on a wider number of current and future browsers.
Question and Answer Item 535 - Browse All Question and Answer Items