添加了错误的密码或验证码时,我在网址上显示错误消息。错误在网址上显示如下:
www.domain.com/signup.php?error_msg=The+characters+you+entered+did+not+match+the+word+verification
如何从URL中提取并显示在PHP文件上?
答案 0 :(得分:2)
只需使用全局std::my_vector<std::pair<const char *, RunningProgramMode>> vProgramMode =
{
{ "server", RunningProgramModeServer },
{ "shell", RunningProgramModeShell },
{ "client", RunningProgramModeClient },
};
result = vProgramMode.find_member("shell");
数组来检索值:
$_GET
有关此阵列的更多信息,请参阅官方文档: http://php.net/manual/en/reserved.variables.get.php