dnaextrim/php_zklib

Get Attendance Data

Opened this issue · 6 comments

Hi, how to get attendance data by date range?

i have the same problem . but i think you have to filter out once you receive the data .

What I do is fill in the data and save it in a database. Then I clean the records and put it on time. Once I have it in the database I apply the filtering that I want. The clock is very slow compared to a database.

For new Firmware is support ADMS, I recommend you to using AMDS, it's direct communication from Attendance machine to ADMS, then you can read database in ADMS for use in your Attendance System.

mysql:
Host: localhost
user: root
port: 83306

password is empty

@suryacaprice do you have sample how to do it?
thanks

 $opts = array('location' => 'http://192.168.1.8/iWsService',
            'uri' => 'iWsService');
        $client = new \SOAPClient(null, $opts);
        $params = array(new \SoapParam(0, "ArgComKey"), new \SoapVar("<Arg><DateTime>2019-05-20 15:03:47</DateTime></Arg>", XSD_ANYXML));
        $attendance_user = $client->__soapCall('GetAttLog', $params);``

@birhannega Thanks mate will try it