Giter Club home page Giter Club logo

subdomain-link-shortener's Introduction

Subdomain Link Shortener

N|Nui

Tính năng

  • Ngôn ngữ php
  • Rút gọn link thành subdomain
  • Có giao diện điều khiển
  • Có đếm số lượt truy cập/link
  • Có bug (nhưng chưa tìm ra)

Yêu cầu

  • Có host php/mysql
  • Có domain hoặc subdomain riêng đang trỏ về host trên

Hướng dẫn

  1. Tạo MySQL database mới, import file trong import_me_via_phpmyadmin lên database vừa tạo
  2. Sửa file const.php. Ở đây mình ví dụ là mình muốn tạo link kiểu link-rut-gon-abc.vidu.ngxson.com
  3. Upload code lên server
  4. Tạo subdomain *.vidu.ngxson.comvidu.ngxson.com trỏ về thư mục code vừa upload
  5. Nếu bạn dùng DNS ngoài, bạn cần tạo record *.vidu.ngxson.comvidu.ngxson.com trỏ về server của bạn (dùng A hoặc CNAME)
  6. Mở http://vidu.ngxson.com lên và thưởng thức

Source code mình thiết kế cho mục đích cá nhân/CLB nhỏ lẻ là chính nên còn khá nhiều thiếu sót, mong anh em thông cảm bằng cách tạo issue hoặc pull request ;)

Author

subdomain-link-shortener's People

Contributors

ngxson 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.