Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connection problem #54

Open
haseebhk22 opened this issue Jan 31, 2019 · 3 comments
Open

connection problem #54

haseebhk22 opened this issue Jan 31, 2019 · 3 comments

Comments

@haseebhk22
Copy link

I have change the ip address in the test but in return nothing is show on test page then i open the test and echo the connection variable and i got false means connection is not made. can anyone help me please

@degeta10
Copy link

degeta10 commented Feb 5, 2019

Please show your code.

@haseebhk22
Copy link
Author

Please show your code.

Here is my code
`<?php
include("zklib/zklib.php");

$zk = new ZKLib("192.168.2.200", 4370);

$ret = $zk->connect();
var_dump($ret);exit();
sleep(1);
if ( $ret ): 
    $zk->disableDevice();
    sleep(1);
?>`

and $ret return False

@dnaextrim
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants