call('getEntidades',$arregloDatos); ?>
". $a[$entidadOrfeoGPL][3] ."
"; $wdslEntidad = $a[$entidadOrfeoGPL][3]; if (url_exists($wdslEntidad)) { echo "Entidad En Linea"; } else { echo "Entidad No Disponible Temporalmente. . . "; } function url_exists($wdslEntidad) { $hdrs = @get_headers($wdslEntidad); return is_array($hdrs) ? preg_match('/^HTTP\\/\\d+\\.\\d+\\s+2\\d\\d\\s+.*$/',$hdrs[0]) : false; } ?> Entidad