有报错: syntax error, '[' in D:\xampp\htdocs\DVWA\vulnerabilities\sqli\

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了有报错: syntax error, '[' in D:\xampp\htdocs\DVWA\vulnerabilities\sqli\相关的知识,希望对你有一定的参考价值。

if( $vulnerabilityFile == 'medium.php' )
$page[ 'body' ] .= "\n <select name=\"id\">";
$query = "SELECT COUNT(*) FROM users;";
$result = mysqli_query($GLOBALS["___mysqli_ston"], $query ) or die( '<pre>' . ((is_object($GLOBALS["___mysqli_ston"])) ? mysqli_error($GLOBALS["___mysqli_ston"]) : (($___mysqli_res = mysqli_connect_error()) ? $___mysqli_res : false)) . '</pre>' );
$num = mysqli_fetch_row( $result )[0];
$i = 0;
while( $i < $num ) $i++; $page[ 'body' ] .= "<option value=\"$i\">$i</option>";
$page[ 'body' ] .= "</select>";

参考技术A 提示语法错误,说的很明确了【xampp\htdocs\DVWA\vulnerabilities\sqli\index.php on line 65】错误就在65行,好好检查测试下吧

以上是关于有报错: syntax error, '[' in D:\xampp\htdocs\DVWA\vulnerabilities\sqli\的主要内容,如果未能解决你的问题,请参考以下文章

elasticsearch启动报错 syntax error near unexpected token `<'

vc编译中的报错syntax error : 'constant'

报错处理:sh: 1: Syntax error: “(“ unexpected

php报错 Parse error: syntax error, unexpected $end, expecting T_CASE or T_DEFAULT or ''

执行shell脚本报错Syntax error: “(“ unexpected

执行shell脚本报错Syntax error: “(“ unexpected