Home >Backend Development >PHP Tutorial >Small FTP search engine (suitable for colleges and universities)
It comes with the database file data.sql. The idea is to traverse the entire file in the ftp directory and convert it into a link and store it in the database. The algorithm is not very good and the efficiency is not high. The core traversal file ftp.php (you can modify this), cooperate with Linux scheduled tasks, for example, traverse every night at 12:00 00 24 * * * /usr/bin/php /ftp.php You don’t need to worry about it after that. will be executed until the end. |