ZKLibrary is PHP library for reading and writing data to attendance device using UDP protocol. This library useful to comunicate between web server and attendance device directly without addition program. This library is implemented in the form of class. So that you can create an object and use it functions.
GNU General Public License v2.0
194
stars
176
forks
source link
Only getUser() is working other functions not working : #66
My device is connected successfully but only i can get users information other functions like (getAttendance , getSizeUser , getSizeAttendance()) etc not working can someone know what to do ?
Here is my code:
`<?php
include "zklibrary.php";
$zk = new ZKLibrary('192.168.2.200', 4370);
$zk->connect();
My device is connected successfully but only i can get users information other functions like (getAttendance , getSizeUser , getSizeAttendance()) etc not working can someone know what to do ? Here is my code: `<?php include "zklibrary.php"; $zk = new ZKLibrary('192.168.2.200', 4370); $zk->connect();
// $zk->disableDevice(); // $attendance = $zk->getAttendance(); // $size = $zk->getSizeUser(); // echo $size; // $users = $zk->getUser(); // print_r($users);exit(); $test1 = $zk-> getVersion(); print_r($test1);
$zk->enableDevice(); $zk->disconnect();
?> `