2023 ThinkPHP Micro Trading Platform Setup Tutorial – Environment Recommendation: Linux, Nginx 1.21.0, PHP 5.6, MySQL 5.6, SSL...
October 2022 latest program case studies – Click the link below to enter: https://dajian168.net/10yueanli...
H5 Online IM Chat Instant Messaging Setup Tutorial Description Server Operating System: Linux CentOS 7 Install BaoTa (Bt Panel) BaoTa Environment: Nginx 1.18 + PHP 7.3 + MySQL 5.6 + MongoDB 4.0 Install PHP extensions: fileinfo, Swoole4, mongodb (three extensions) Remove all disabled functions in PHP BaoTa firewall: Open ports 1-65535 Add a website, upload files from the IM folder to the website root directory, set permissions to 777 Modify the website, set URL rewrite to thinkphp, website directory select /web/public Move index.html to the top of default documents Add a database and import data 3eym.com.sql.gz The MongoDB database needs to be uploaded via SSH commands First upload mongod.zip to a folder on the server, after uploading, extract the file, delete the zip file, then execute the following command via SSH: mongorestore -d im path (this path is the folder you extracted) Modify the database configuration information in webconfigdatabase.php Modify the database configuration information in socketappimcommoncontrollerMain.php Modify the IP on line 48 in webappimcommoncontrollerActionBegin1.php Next is compiling the frontend files, the frontend files are in view-h5 First download HBuilderX tool, search and download via Baidu, for how to use it, check the tool’s instructions. If it prompts you to install......
1. Download and install Node.js Visit https://nodejs.org/zh-cn/ and download the latest LTS version of Node.js. The installation steps are simple, just keep clicking next. 2. Compile the project Open cmd in the project directory, as shown in the folder below. Enter npm install to install the required dependencies npm install Enter npm run dev to run the project npm run dev 3. Possible problems 1. Unable to access remote repository You can use the domestic Taobao mirror, enter the following commands: npm config set registry https://registry.npm.taobao.org npm config get registry // Verify if the setting is successful 2. Insufficient permissions to perform certain operations Open cmd as administrator 3. Unable to compile normally, missing certain components npm install –global –production windows-build-tools 4. Missing a specific dependency (using node-sass as example) npm install node-sass ************************************* npm run dev npm run serve Install development dependencies: npm install babel-plugin-import -D ********************************************* Build npm run build ********************************************* Vue executes npm run dev and reports an error: missing script:dev Check the package.json file in the project folder, there may be two situations: 1. There is a dev line in the script 2. There is no dev line in the script [Insert image description] Has dev......
Digital Asset Dashboard Demo Setup Tutorial: Market Simulation and Paper Trading Guide Digital Asset Dashboard Demo Setup Tutorial: Market Simulation and Paper Trading Guide Disclaimer: This tutorial is for technical education and demonstration only. It is not investment advice, nor a recommendation to perform real financial operations. Real-world financial platforms require appropriate licenses, compliance, and regulatory approval. The dashboard described here simulates market data and uses paper trading to help learners understand how frontend and backend components work together. This guide walks through building a digital asset dashboard demo that visualizes market data, supports multi-language interfaces, and provides an admin panel for technical learning. The demo uses simulated market data, paper trading, and data visualization components such as K-line charts. It does not handle real funds, real leverage, or real financial returns. Overview of the Demo Dashboard The demo dashboard is a full-stack learning project built with: Frontend: responsive web interface with market data visualization (K-line charts, candlestick charts, and data tables). Backend: PHP-based services using Laravel-style command scheduling, WebSocket push, and queue workers. Database: MySQL for persistent configuration and metadata, Redis for caching and real-time data streams. Search & analytics: Elasticsearch for indexing and querying market data during simulation.......
bat simultaneously processes multiple lottery draws, Node.js modifies kj.bat, start node data.js, start node c:\vhosts\kj\data.js, then open TianHeng lottery drawer...
Turns on the URL rewriting engine. If the connection is not secure (HTTPS), permanently redirect (301) all requests to the same URL using HTTPS....
2022.2.19 Update Log 1. Fix undrawn display issue 2. Latest high-imitation official website 3. Fix mobile display misalignment issue 4. News announcement list UI modification 5. Modify HKD display Macau Super Lotto Lottery Website Those who know, know Admin can input numbers in advance, automatically display when due PHP Environment PHP 7.1.9nts Nginx Framework TP5 FastAdmin Secondary Development Database Tool Navicat Premium MySQL Domain http://www.dajan168.com/ http://www.dajan168.com/adminxxx.php/index/login Admin Login Path (replace domain yourself) Admin Login Account Password admin admin123 vhosts.conf Configuration Root points to public directory server { listen 80; server_name www.dajan168.com; root D:/phpStudy/phpstudy_pro/WWW/dajan168/public ; location / { if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?s=$1 last; } index index.php index.html error/index.html; error_page 400 /error/400.html; error_page 403 /error/403.html; error_page 404 /error/404.html; error_page 500 /error/500.html; error_page 501 /error/501.html; error_page 502 /error/502.html; error_page 503 /error/503.html; error_page 504 /error/504.html; error_page 505 /error/505.html; error_page 506 /error/506.html; error_page 507 /error/507.html; error_page 509 /error/509.html; error_page 510 /error/510.html; autoindex off; } location ~ \.php(.*)$ { fastcgi_pass 127.0.0.1:9001; fastcgi_index index.php; fastcgi_split_path_info ^((?U).+\.php)(/?.+)$; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info; include fastcgi_params; } }...
2022.1.30 Record: WeiPan/Time Disk/Micro Trading/Foreign Exchange Disk/ThinkPHP5 Backdoor Due to frequent attacks, it’s really annoying. After changing domain names and servers several times, I’ve summarized the following security issues. Let’s share this disgusting behavior. Hacker @Ma.. (not disclosed) deletes the database every time and asks for 300. Main exploitation methods: – ThinkPHP vulnerabilities – Scanning for IP addresses – Using upload vulnerabilities: generating 1.php in the root directory, connecting with caodao, then uploading webshell ****************************** Solutions and Fixes ****************************** – Block hacker IP addresses – Prevent server IP exposure – Prohibit IP addresses from accessing the website – Block all search engines from accessing any part of the website robots: User-agent: * Disallow: / – Modify website name to random English – Disable random registration – Fix vulnerability files – Modify backend login address – Backend has added security verification – Domain/adminxxxxxxx – Modify application/route.php...
2022 High Imitation WeChat – Full-Featured IM Instant Messaging – Android Chat App – Apple Chat App – H5 Chat – Online Customer Service – uniapp Version Source code is a virtual item. To avoid any misunderstanding, all features are based on the demo. Please consult customer service before placing your order. 2021.11.16 Fixed audio and video calls, added file transfer 2021.10.7 Added a main page button in the center of the bottom menu. The name and URL can be modified in the app source code Server Configuration: 4 cores, 8GB RAM, bandwidth 10Mbps or above Server System: Linux Centos 7.6 64-bit Features Introduction — Supports complete IM features including text, emojis, images, voice, audio/video calls, single chat, group chat, Explore, Moments, red packets, and more. Single Chat: Quickly enable private messaging with various communication capabilities such as images, voice, animated stickers, short videos, red packets, and audio/video calls. Message history supports roaming. Group Chat: Quickly enable group chat with flexible group member and permission management including single user mute, all members mute, group red packets, setting administrators, group transfer, kicking members, and more. Message history supports roaming for large groups and can be further enhanced. Multi-Device Support: Allows user......