$piazzola = 0; } $response['code'] = 1; $response['status'] = $api_response_code[$response['code']]['HTTP Response']; $response['data'] = getScoreConsegnato($piazzola); } // Method i: classifica per compagnia if (strcasecmp($apiMethod, 'classificacomp') == 0) { if (isset($_GET['compagnia'])) { $compagnia = $_GET['compagnia']; } else { $compagnia = null; } $response['code'] = 1; $response['status'] = $api_response_code[$response['code']]['HTTP Response']; $response['data'] = getClassificaCompagnia($compagnia); } // Method h: Layout Foto if (strcasecmp($apiMethod, 'layoutfoto') == 0) { $response['code'] = 1; $response['status'] = $api_response_code[$response['code']]['HTTP Response']; $response['data'] = getLayoutFoto(); } // Method i: Elenco Foto per Autofoto if (strcasecmp($apiMethod, 'elencofoto') == 0) { $response['code'] = 1; $response['status'] = $api_response_code[$response['code']]['HTTP Response']; $response['data'] = getElencoFotoLibere(); } // Method j: Elenco combinazioni di classi e categorie if (strcasecmp($apiMethod, 'classicat') == 0) {
</head> <body> <p> <?php include_once 'PiazzoleService.php'; getCompagniaArciere(23); $ciccio = getAllowedExt(); $pluto = "jpg"; //echo $ciccio[0] . "<br/>"; if (in_array($pluto, $ciccio)) { echo "Ho trovato PLUTO<br/><br/><br/>"; } else { echo "Nulla da segnalare<br/><br/><br/>"; } $pieces = getClassificaCompagnia('04ARCH'); getPodio('CAM', 'SI'); $ext = getAllowedExt(); echo join(";", $ext); $ciccio = getElencoFotoDaAssociare(); echo "Ci sono " . count($ciccio) . " file"; echo "GIANFRANCO"; //echo json_encode($pieces); // return getGenericData(AIRO_SQL_GET_CLASSIFICA_COMPAGNIA, "s", array($compagnia)); echo "<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>"; $variabile1 = []; $variabile1[] = "s"; $parm = array("04ARCH"); array_unshift($variabile1, "prova"); if (is_array($variabile1)) { echo "è un array<br/>";