full JSON

This commit is contained in:
gnieark 2016-05-29 22:40:40 +02:00
parent 81c0f8102d
commit 9b2770a38a

View File

@ -74,7 +74,7 @@ switch ($_POST['act']){
$httpResponse=json_decode(get_IA_Response($playerURL,$paramsToSend),TRUE); $httpResponse=json_decode(get_IA_Response($playerURL,$paramsToSend),TRUE);
$playerResponse=$httpResponse['play']; $playerResponse=$httpResponse['play'];
echo "******".$playerResponse."**********"; echo "<p>******".$playerResponse."**********</p>";
//tester la validité de la réponse //tester la validité de la réponse
if((isset($map[$playerResponse])) && ($map[$playerResponse]=="")){ if((isset($map[$playerResponse])) && ($map[$playerResponse]=="")){
//reponse conforme //reponse conforme