Home > php教程 > php手册 > dvwa+xampp搭建显示乱码的问题:解决办法,dvwaxampp

dvwa+xampp搭建显示乱码的问题:解决办法,dvwaxampp

WBOY
Release: 2016-06-13 08:55:54
Original
1256 people have browsed it

dvwa+xampp搭建显示乱码的问题:解决办法,dvwaxampp

 

如图,dvwa显示乱码,解决办法有两个:

 

 

1、方法一是,临时解决办法,也就是每次都得手动修改:利用浏览器的编码修改

 

2、方法二是:永久方案,那就是修改dvwa的配置文件,修改默认编码,位置在(记得打开隐藏文件夹)

C:\xampp\htdocs\DVWA\dvwa\includes\dvwaPage.inc.php

由于安装路径不同,但是相对路径(即dvwa的安放路径)DVWA\dvwa\includes\dvwaPage.inc.php是不变的

修改里面的http头:把默认的编码utf-8修改为gb2312,这样每次显示就正常了

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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template