HTML表单未发送$ _POST值 [英] HTML form is not sending $_POST values

查看:83
本文介绍了HTML表单未发送$ _POST值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试用PHP创建一个表单创建者.这是其中一个非常愚蠢的需要另一种外观"的问题.我知道这种形式应该可以,但是根本不发送任何$ _POST值.这是代码.

I am trying to create a form creator in PHP. This is one of them very silly "need another look" problems. I know this form should work but it just isn't sending any $_POST values at all. Here is the code.

<form method="post" action="http://projects.zesty-designs.co.uk/orderform" class="generatedform">
<label>Ebay Username</label><br />
<input type="text" name="ebay_username" value="" /><br />
<label>Email Address</label><br />
<input type="text" name="email_address" value="" /><br />
<label>Full Name</label><br />
<input type="text" name="full_name" value="" /><br />
<input type="submit" value="Submit" /><input type="reset" value="Start Again" />
</form>

如果有人想尝试一下,这里是实时链接. http://projects.zesty-designs.co.uk/orderform .

Here is the live link if anyone wants to try it out. http://projects.zesty-designs.co.uk/orderform.

推荐答案

大多数注释看起来都是正确的.

Looks like most of the comments are correct.

正在发送信息的URL似乎需要用斜杠/或对直接文件的引用.

It seems that the URL that is sending the information requires a trailing slash / or a reference to the direct file.

感谢您的答复.

这篇关于HTML表单未发送$ _POST值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆