Chalide short URL V2.0
Please keep your signature information; do not use it for illegal purposes
System brief description: The 33KB code implements the short URL function for both front-end and back-end login. Compared with the first version of the code, it has been reconstructed.
Development environment: Pagoda: linux php Nginx 7.1/mysql5.6; Recommended environment: linux php 5.4-7.3;
Space domain name: The domain name is resolved to the corresponding space (IP or domain name), and the space is bound to the domain name.
Code configuration: Use a code editor (not Notepad) to modify the conn.php file Mysql database parameters default account and password.
Code upload: FTP upload/remote desktop upload/pagoda and other online file management functions and other methods to maintain the original file structure and upload.
Management access: http://domain name/folder/admin.php (security: admin.php can be renamed and the URL will change accordingly)
User access: http://domain name/folder/ See navigation
Usage suggestions: It is recommended to use the field index as the query condition; it is recommended to enable the opcache cache function.
Note: For first time use, please log in to the backend to access the user list and URL record list (tables will be created).
Function
client
Log in and log out to change password; optional whether to open a registered account
Add/add URLs in batches (the number of URLs at a time can be limited in the background);
Adding will determine whether the URL protocol/domain name is resolved/domain name whitelisting, etc.
URL list (displayed in pages and searchable); URL status can be changed.
Management side
Log in and log out to change password;
The settings page can set the title and other information; the maximum number of pages on the list page, the number of pages per page, etc.
On the settings page, you can set whether to count times; whether to open registration; whether to whitelist domain names
User list: paging display, multi-field search (included),
User list: change password, delete, batch delete, simulate user login
User import: single addition, batch import [paste and submit on page]
URL records: paging display, multi-field search (included)
URL records: delete, batch delete, modify URL status, etc.
URL import: single URL addition, batch import [page paste and submit]
Other assistance: Clear the table
For more instructions, see the readme.txt in the compressed package.