校园表白墙网站PHP源码
伪静态
Apache
Nginx
rewrite ^/mous/page/(.*)$ /index.php?mous=&page= /index.php?mous=$1&page= /index.php?mous=KaTeX parse error: Expected 'EOF', got '&' at position 2: 1&̲page=1;
rewrit… /index.php?pages=$1;
1.本表白墙无后台
2.导入数据库
先将根目录内的 options.sql 和 contents.sql 导入数据库
在 /require/function.php 第三行 更改为自己的数据库信息
‘mysql’=>‘localhost’, //数据库地址
‘name’=>‘root’, //数据库登录名
‘password’=>’’, //数据库密码
‘dbname’=>‘lovewall’ //数据库名