HS 2.0R2: No longer use HTTP_RAW_POST_DATA As HTTP_RAW_POST_DATA is deprecated, use php://input instead Signed-off-by: Cedric Izoard <cedric.izoard@xxxxxxxxxxxx> --- May save some time if someone tries to set-up hs20 example on recent php version hs20/server/www/spp.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hs20/server/www/spp.php b/hs20/server/www/spp.php index dde4434..002d028 100644 --- a/hs20/server/www/spp.php +++ b/hs20/server/www/spp.php @@ -96,7 +96,8 @@ else putenv("HS20USER"); putenv("HS20REALM=$realm"); -putenv("HS20POST=$HTTP_RAW_POST_DATA"); +$postdata = file_get_contents("php://input"); +putenv("HS20POST=$postdata"); $addr = $_SERVER["REMOTE_ADDR"]; putenv("HS20ADDR=$addr"); -- 2.7.4 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap