Quero fazer chama a estas paginas e executar este codigo HTML, mas, quando tendo compilar o SC trava
Sc 9.3.006
//<?php
if(isset($_GET[‘digital’])){
$digital = $_GET[‘digital’];
echo $digital;
}else{
?>
Page Title
</head>
<body>
<script type="text/javascript">
function exibirBrowser(){
$.get("http://localhost:9191/livecamService?var=cblocal&callback=http://localhost/callback.php?param=cblocal", function(response) {
});
}
function capturarUmDedo() {
$.ajax({
type: "GET",
url: "http://localhost:9191/fingerNitgenOneMinucia?typeCapture=styleAuto",
dataType: "html",
success: function (data, status, xhr) {
window.location.replace(window.location.href + '?digital=' + data);
},
error: function (xhr, status, error) {
alert(x.responseText + " " + x.status);
}
});
}
function capturarTodos(){
$.ajax({
type: "GET",
url: "http://localhost:9191/fingerNitgenAllMinucia?typeCapture=default",
dataType: "html",
success: function (data, status, xhr) {
window.location.replace(window.location.href + '?digital=' + data);
},
error: function (xhr, status, error) {
alert(x.responseText + " " + x.status);
}
});
}
</script>
<form>
<span>Exemplo chamada serviço câmera</span>
<input id="id_button" type="submit" value="Acionar" onclick="return exibirBrowser()"></input><br/>
<span>Exemplo chamada serviço de digital (1 dedo)</span>
<input id="id_button2" type="button" value="Acionar" onclick="capturarUmDedo()"></input><br/>
<span>Exemplo chamada serviço de digital (todos os dedos)</span>
<input id="id_butto3" type="button" value="Acionar" onclick="capturarTodos()"></input><br/>
<span id="digital"/>
</form>
</body>
</html>
<?php
}
//?>