HTML电子邮件提交表格
问题描述:
遇到电子邮件表单有问题。点击提交不能识别页面时。我错过了真正明显的东西吗?我已将'您的电子邮件地址'替换为VALUE中的有效电子邮件地址。HTML电子邮件提交表格
下面是代码:
<form method="post" action="http://www.ftp://www.users.greenbee.net//cgi-bin/FormMail.pl" name="MyForm">
<input type="hidden" name="recipient" value="YOUR EMAIL ADDRESS" />
<input type="hidden" name="sort" value="order:FirstName,Surname,emailaddress,Comments" />
<center>
<table border="0" width="64%" bgcolor="#c0c0c0">
<tr>
<td width="41%" align="center"><strong>First Name</strong></td>
<td width="59%" align="center"><input type="text" name="FirstName" size="24" /></td>
</tr>
<tr>
<td width="41%" align="center"><strong>Surname</strong></td>
<td width="59%" align="center"><input type="text" name="Surname" size="24" /></td>
</tr>
<tr>
<td width="41%" align="center"><strong>E-mail Address</strong></td>
<td width="59%" align="center"><input type="text" name="emailaddress" size="24" /></td>
</tr>
<tr>
<td width="41%" align="center"><strong>Comments on my webpage</strong></td>
<td width="59%" align="center"><textarea rows="3" cols="24" name="Comments"></textarea></td>
</tr>
<tr>
<td width="41%" align="center"><input type="submit" value="Send Form" name="SendForm" /></td>
<td width="59%" align="center"><input type="reset" value="Clear Form" name="ClearForm" /></td>
</tr>
</table>
</center>
</form>
答
形式action
是全乱了。
它应该是http://
或ftp://
你不能将两者结合。
从快速试错,这一个“作品”,虽然需要身份验证:ftp://www.users.greenbee.net/cgi-bin/FormMail.pl
答
你有无效的操作页面与此 看到有一两个议定书
HTTP和FTP ..
我认为这是错误的。
答
检查您的行动路径。它必须是FormMail.pl的绝对位置。
确保以http://或ftp开头://
+0
再次,谢谢。欣赏它。 – user1022772 2012-01-18 14:31:36
是的。我错过了。干杯。 – user1022772 2012-01-18 14:30:32
没问题,很高兴我能帮上忙。 – 2012-01-18 14:33:28