Wordpress:找不到PHP脚本HTTP 404错误

问题描述 投票:0回答:1

我当前的任务是在WordPress上创建一个完整的主题。而这就是登录系统。现在,我已经创建了表单,并且一切看起来都很好,问题在于wordpress正在与我争吵并且无法找到我的注册脚本,它创建了HTTP 404错误。现在,我认为这与wordpress永久链接系统有关,因为它想查找页面而不是我的signup.inc.php脚本。

现在,这使我感到沮丧,因为我对编码有点陌生,我也不知道如何解决它!

这是我的代码链接到位于名为“ includes”的文件夹中的实际文件,>

  <form action='includes/signup.inc.php' method="post">
      <div class="form-group">
        <label for="Username">Username</label>
        <input type="text" class="form-control" name="uid" id="uid" placeholder="Username" required>
        <small id="userhelp" class="form-text text-muted">This name will show on forums and the socialpage.</small>
      </div>

      <div class="form-group">
        <label for="firstname">Firstname</label>
        <input type="text" class="form-control" name="firstname" id="firstn" placeholder="Firstname" required>
      </div>

      <div class="form-group">
        <label for="lastname">Lastname</label>
        <input type="text" class="form-control" name="lastname" id="lastn" placeholder="Lastname" required>
      </div>
      <div class="form-group">
      <label for="email">Email Adress</label>
      <input type="email" class="form-control" name="mail" id="inputemail" aria-describedby="emailHelp" placeholder="Email" required>
      <small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
      </div>

      <div class="form-group">
        <label for="password">Password</label>
        <input type="password" class="form-control" name="pwd" id="password" placeholder="Password" required>
      </div>

      <div class="form-group ">
        <label for="password">Repeat password</label>
        <input type="password" class="form-control" name="pwd-repeat" id="password" placeholder=" Repeat password" required>
        <small id="passHelp" class="form-text text-muted">Please retype your password.</small>
      </div>

  <div class="form-group">
    <div class="form-check">
      <input class="form-check-input" type="checkbox" id="invalidCheck3" required>
      <label class="form-check-label" for="invalidCheck3">Agree to terms and conditions</label>
      <div class="invalid-feedback">
        You must agree before submitting.
      </div>
    </div>
  </div>
      <button class="btn btn-dark" name="signup-submit" type="submit">Signup</button>
    </form>

我当前的任务是在WordPress上创建一个完整的主题。而这就是登录系统。现在,我创建了表单,一切看起来都很好,问题在于wordpress正在与...

php wordpress authentication action
1个回答
0
投票

请以以下形式使用此操作:

© www.soinside.com 2019 - 2024. All rights reserved.