我正在尝试使用SlimPHP v3 + PDO重建我的PHP API。问题是我一直在寻找通过POST方法传递的属性。这是我的index.php文件的一部分,我决定只是对变量进行回显以测试其是否正常工作。
dat <-
structure(list(Name = structure(1:8, .Label = c("A", "B", "C",
"D", "E", "F", "G", "H"), class = "factor"), Feature = c(1L,
2L, 4L, 1L, 7L, 5L, 2L, 2L)), .Names = c("Name", "Feature"), class = "data.frame", row.names = c(NA,
-8L))
我的网站的链接如下所示,但是我要回显的$ name变量仍然为空。
https://myweblink/register?name=test&email=test@mail.com&password=pass&picture_path=lolololo