Home > Backend Development > PHP Tutorial > php中使用ajax进行登陆验证后,页面出错的有关问题

php中使用ajax进行登陆验证后,页面出错的有关问题

WBOY
Release: 2016-06-13 12:46:53
Original
755 people have browsed it

php中使用ajax进行登陆验证后,页面出错的问题?
我创建了一个index.php页面,该页面是由三个页面拼成的,代码如下:



  
    
  
  
    
  
  
    
  

 include("top.php");
 ?>

我在main.php中使用ajax进行登陆验证,验证成功后 在原来的位置显示用户名。我遇到的问题是:当用户名验证成功后,跳转的页面是main.php页面,我怎么使她跳转到index.php页面,并且实现登录验证,并在登陆验证成功后,在index.php页面显示用户名。我是一个php菜鸟,求指导!!!
PHP Ajax 登陆验证 页面跳转出错
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template