2
我有一個表單。現在它只有一個動作,只是將輸入提交給URL。我希望在表單完成時將輸入保存到文件中,然後提交到URL。輸入保存到一個文件,然後提交到URL上提交
<form class="snp-subscribeform snp_subscribeform" action="join.cgi" method="post">
<input name="page" type="hidden" value="1" />
<div>
<input id="snp-firstname" class="snp-field snp-field-firstname " name="firstname" required="" type="text" value="" placeholder="Enter Your First Name" />
<input id="snp-lastname" class="snp-field snp-field-lastname " name="lastname" required="" type="text" value="" placeholder="Enter Your Last Name" />
<input id="snp_email" class="snp-field snp-field-email" name="email" type="text" placeholder="Enter Your Email " />
<input id="snp-password" class="snp-field snp-field-password " name="password" required="" type="text" value="" placeholder="Select A Password" />
</div>
<div>
<input class="snp-subscribe-button snp-submit" type="submit" value="CONTINUE" data-loading="Creating Account!" data-success="Account Created!" />
</div>
</form>
</div>
爲什麼不把你提交保存文件時,它處理輸入的頁面。 – Leeish
有一個關閉的'div'標籤,沒有打開'div'標籤。請確保您的標籤匹配。 – Ram
leeish我沒有自己的CGI代碼 – user3776798