ZKLibrary
ZKLibrary copied to clipboard
Only connect when access by localhost
Someone have issue only connect when use localhost
I use this library on my local area network both wired and wireless and it works.
I try to use Port Forwarding and my problem is done.Now i want to set time to get Attendance, you have solution for this :)) thank for support
I cant connect the test page just stays blank. When I try to use echo outputs to tell when it stops running, anything after creating the zk object is not executed. kindly help
connect(); if ($zk->connect()){ echo "success"; } $zk->disableDevice(); $users = $zk->getUser(); ?>No | UID | ID | Name | Role | Password |
echo "Device Enabled now";
$zk->disconnect();
?>
Any error in this?
`<?php include "zklibrary.php"; $zk = new ZKLibrary('192.168.1.96', 4370); $zk->connect();
if ($zk->connect()){
echo "success"; }
$zk->disableDevice();
$users = $zk->getUser(); ?>
No | UID | ID | Name | Role | Password |
echo "Device Enabled now";
$zk->disconnect();
?> `