gpt4 book ai didi

php - 没有文件名的表单操作

转载 作者:可可西里 更新时间:2023-11-01 01:02:50 25 4
gpt4 key购买 nike

你能解释一下这段代码吗?

<form method="post" action="/login/">
<input type="text" name="name" placeholder="Name..." required="required">
<input type="password" name="password" placeholder="***********" required="required">
<input type="submit" name="submit" value="Log in">
</form>

我知道 action="login.php"但是没有文件在运行。这怎么行?根文件夹中没有名为“登录”的文件夹。

最佳答案

可以有很多不同的工作方式,如果我们假设是 Apache 那么 Aliasmod_rewrite指令作为可能性浮现在脑海中。

关于php - 没有文件名的表单操作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18781479/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com