本文介绍了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="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>如果有人想尝试一下,这里是实时链接. projects.zesty-designs.co.uk/orderform .
Here is the live link if anyone wants to try it out. 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表单未发送$
发布评论