0

我正在使用最新版本的 Matts formmail,但由于某种原因,我无法配置图像上传。脚本可以上传图片吗?或者这是我表单中的 html 问题?

它正在上传这个表格。愿意向任何帮助的人捐款。

    <form id="buy-online" class="automatic-pricing c7" action="FormMail/formmail.pl"      method="post" enctype="multipart/form-data">

<div class="c1" id="buy-online-header">Get a QuickQuote</div>
<br />
<div class="row c2"><label id="label-product" for="ddl-product"><span>Product:</span>           </label> <select id="product-data" name="ddl_product">
<option value="">Select a product...</option>
<option value="Luxury">Luxury Lawn</option>
<option value="Lush">Lush Lawn</option>
<option value="Natural">Natural Lawn</option>
<option value="RG Basic">RG Basic</option>
<option value="------">-------</option>
<option value="Multiple">Multiple, please state below</option>
</select></div>
<div class="row c2">
<label><br>
Width: <input type="text" name="Width" id="Width" /></label></div>
<div class="row c2">
<label><br>
Length: <input type="text" name="Length" id="Length" /></label></div>
<div>
<br>
Ground Conditions
<textarea style="width:450px" name="Ground Conditions"></textarea>

</div>
<div>
<br>
<div>Comments and Requests
  <textarea style="width:450px" name="Ground Conditions3"></textarea>
</div>
</div><br />
  <div class="c3">
  Area Photos</div>
<div class="c4" id="file1"><input name="Image 1" type="file" /></div>
<div class="c5" id="file1"><input name="Image 1" type="file" /></div>
<div class="c4" id="file1"><input name="Image 1" type="file" /></div>
<div class="c4" id="file1"><input name="Image 1" type="file" /></div>
<div class="c5" id="file1"><input name="Image 1" type="file" /></div>
<div class="c3"><br />
Your Garden Plan<br />
<div class="c6" id="file1"><input name="Image 1" type="file" /></div>
<br /></div>
<div>
Phone Number<br>
<label>
  <input type="text" name="phone" id="phone">
</label>
<textfield style="width:450px" name="phonenumber"></textfield>
<br>
<br>
</div>
<div>
Post Code<br>
<label>
  <input type="text" name="phone" id="phone">
</label>
<textfield style="width:450px" name="phonenumber"></textfield>
<br>
<br>
</div>
<div class="row-button"><button id="button-buy-now" name="btn_buy_now" type="submit">        <span>Get a Quote</span></button></div>
<input type="hidden" name="redirect"    value="http://www.sgsgrass.co.uk/submitconfirmation.php" /> 
</form>
4

0 回答 0