PHP product authorization system source code authorization verification update system V2.7 customized version full version PHP product authorization system source code authorization verification update system V2.7 customized version full version, one-click update system, one-click card password generation self-service authorization function, domain name IP dual Verification functions etc.
Copy the program to the root directory
Import data and configure data/config.php file
$safe = '123456';//This is the security code, not in the database
Backend address: http://domain name/admin.php
Configure update.php in the root directory
$file_dir = 'http://your domain name/upgrade'; //Remote upgrade patch storage directory
It is recommended that the upgrade directory for patch storage be changed to be more complicated.
Verification code This code must be placed in front of the php file
Authorization center related:
The upgrade directory is a patch directory placed on your own server, such as http://domain name/upgrade
update.php is responsible for authorization checking and update version checking
The versions are increased sequentially
1.1 1.2 1.3 Cannot jump
Clients are also upgraded sequentially
If the current version of the client is 1.1, upgrade to 1.2 first and then to 1.3.
Therefore, when adding a version in the authorization management center, you must follow the rules and the version number must be like this
The update package is very simple. Please refer to the 1.1.zip below upgrade.
To avoid guessing the naming format upgrade file, you can name the zip format arbitrarily.
The client version number will just follow the prefix determined before. I have already processed it when querying.
You have to make sure that your prefix needs to be modified by modifying the version number in version.php. Think about it yourself and confirm it.
The database update script update.sql of the update package is written by yourself. Be sure to check and execute it directly when upgrading the client.
The update package is deleted after each update is completed to prevent customers from getting the update package.
Update packages must be rigorously tested before being released.
The authorized domain name is the top-level domain name and does not limit the second-level domain name.
Authorization time format 2015-01-01 fill in like this
WeChat platform website related
The upgrade action already includes authorization checks
Just copy the authorization check code.php for other client files to important files and then encrypt the important files.
The authorization check code must be added at the beginning of the file otherwise it will not work.