How to use:
Step 1: Create a new database Step 2: Use a tool such as phpadmin to import the wb.sql file Step 3: Modify the config.php file (open config.php with Notepad and modify as follows)
define("DB_HOSTNAME", "localhost"); "Depending on the server, it generally does not need to be modified. Some input the mysql server IP
define("DB_USERNAME", "wb_hk"); "Replace wb_hk with your own database name
define("DB_PASSWORD", "123456"); "Replace 123456 with your own database password
define("DB_NAME", "wb_hk"); "Replace wb_hk with your own database user name
define("DB_VERSION", 4);
define("DB_PREFIX", "phurl_"); "Replace phurl_ with your own data list prefix, no need to modify it
define("SITE_URL", "http://wb.hk");
define("SITE_TITLE", "Weibo (wb.hk) short URL free generation system");
define("ADMIN_USERNAME", "wb_hk"); "Replace wb_hk with your own database username
define("ADMIN_PASSWORD", "123456"); Replace 123456 with your own database password
define("URL_PROTOCOLS", "http|https|ftp|ftps|mailto|news|mms|rtmp|rtmpt|e2dk");
/*
* Do not touch this part
*/
define("PHURL_VERSION", "2.0.0 BETA 3.3");
error_reporting(E_ALL);
$_ERROR = array();
Step 4: Check .htaccess. If the server does not enable apache pseudo-static support, copy the .htaccess file to the root directory.
Step 5: Simply change the domain name wb.hk to your own.
Step 6: Enter footer.php and change the Google ad address to your own address.