HTML表单未发送$

编程入门 行业动态 更新时间:2024-10-24 19:28:17
本文介绍了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表单未发送$

本文发布于:2023-10-09 18:37:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1476463.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:表单   HTML

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!