This PHP website is using for collect Gi ft_card code from Sellers
- XAMPP FOR php 5.6 version downloand url('https://jaist.dl.sourceforge.net/project/xampp/XAMPP%20Windows/5.6.14/xampp-win32-5.6.14-4-VC11-installer.exe?viasf=1')
Thinkphp(https://www.thinkphp.cn/)
for ngnix
location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}
for apache
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L,QSA]
http://localhost/Sqnbcadmin 用户:admin 密码 www.ohbbs.cn
http://localhost/ account:13800000000 / password: 8373185
如果是放在windows服务器上的xampp 请把apache httpd 添加到防火墙,以保证可以使用URL 访问
[ Apache ] httpd.conf配置文件中加载了mod_rewrite.so模块 AllowOverride None 将None改为 All 把下面的内容保存为.htaccess文件放到应用入口文件的同级目录下 RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]