GithubHelp home page GithubHelp logo

sunlianlong / zero-width-qrcode-sqlite-shortener Goto Github PK

View Code? Open in Web Editor NEW

This project forked from asiacny/zero-width-qrcode-shortener

0.0 0.0 0.0 125 KB

零宽度短网址与二维码生成工具(PHP+SQLite)

Home Page: https://ml.mk

PHP 100.00%

zero-width-qrcode-sqlite-shortener's Introduction

说明

#演示地址:

https://ml.mk

https://demo.ml.mk

1.解压本程序到域名根目录

2.修改config.php,并保证数据库可写(chmod 666 urls.sqlite;chown www:www urls.sqlite)

3.Nginx请添加以下配置
location / {
rewrite ^/(.*)$ /decoder.php?q=$1;
try_files $uri $uri/ /decoder.php;
}
location ~* .(sqlite|sqlite3|db)$ {
deny all;
}

4.Apache请修改.htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ decoder.php?q=$1 [QSA,L]

本程序使用SQLite文本数据库,访问量大请自行修改为MySQL或关闭访问次数记录
phpliteadmin.php为第三方单文件sql管理程序,默认中文,密码admin

zero-width-qrcode-sqlite-shortener's People

Contributors

asiacny avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.