Well, I researched an answer and did not find it so I decided to ask here. I was doing a login system with JSON and PHP that should send a POST through JSON however the variable "_POST" always returns empty, prints:
This is the JSON that it sends to the "login.php" file.
Andthisiswhatreturns(Ps.:Iusedan"echo json_encode ($ _ POST)" in the file "login.php" and it returns "[]", however when the value is changed it is also displayed in the Firebug "Reply" which indicates that it is sending to the correct link. Does anyone understand this?