So I did it seriously yesterday. It has more functions and can perform statistical analysis on various search engines. Can be viewed over multiple time periods. In fact, the code is very simple. In order to be more concise, the code is compressed to 6k. It is divided into 6 files
1. Installer spilder_install.php
Copy the code The code is as follows:
Install plug-in if($_POST[ 'act']=='install')//If installing
{
$mysql_host=trim($_POST['mysql_host']);//Get the host
$mysql_user=trim($_POST ['mysql_user']);//Get the username
$mysql_pwd=trim($_POST['mysql_pwd']);//Get the password
$mysql_db=trim($_POST['mysql_db']); //Database
$table_prefix=trim($_POST['table_prefix']);//Get prefix
if($link=mysql_connect($mysql_host,$mysql_user,$mysql_pwd))
{
echo "Connection to server successful!.............
";
}
else
{
echo "