0
我认为phpmyadmin index.php
执行时被称为config.inc.php
。
于是,我就在config.inc.php
/*
* First server
*/
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = $_GET['test']; // I changed here
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
和呼叫URL这样。
http://localhost/index.php?test=211.212.14.11
但我得到显示主机错误,无法正常工作。 我该怎么办?