<?php
if($IP=="") $IP="192.168.1.201";
if($Key=="") $Key="0";
$Connect = fsockopen($IP, "80", $errno, $errstr, 1);
if($Connect){
$soap_request="<GetAttLog>
<ArgComKey xsi:type=\"xsd:integer\">".$
<Arg><PIN xsi:type=\"xsd:integer\">All</
</GetAttLog>";
$newLine="\r\n";
fputs($Connect, "POST /iWsService HTTP/1.0".$newLine);
fputs($Connect, "Content-Type: text/xml".$newLine);
fputs($Connect, "Content-Length: ".strlen($soap_request).$
fputs($Connect, $soap_request.$newLine);
$buffer="";
while($Response=fgets($
$buffer=$buffer.$Response;
}
}else echo "Koneksi Gagal";
$buffer=Parse_Data($buffer,"<
$buffer=explode("\r\n",$
for($a=0;$a<count($buffer);$a+
$data=Parse_Data($buffer[$a],"
$pin=Parse_Data($data,"<PIN>",
$datetime=Parse_Data($data,"<
$status=Parse_Data($data,"<
}
?>
We are searching for the SOAP Manual for this biometric device. Do you have it please? It would be a real help if you could share with us. Thanks!
BalasHapusok...
Hapusi'll try to post it for you..
thanx..
:)