ZKLibrary
ZKLibrary copied to clipboard
how it works $zk ->getUserTemplate()
hi, could you explain how it works, for example:
Uid = 2, Finger_id = 0
$template = $zk -> getUserTemplate(2, 0);
No Works,
Thks in advanced.
I am sorry. This function is not defined yet. I hope anyone can help me to define this function.
I can get usertemplate using UDP protocol but can't upload the fingerprint template
This may be due to the limitations of the device features. However, basic functions such as taking attendance data can be done. The use of desktop-based software attendance management may be an option.
@kamshory I have all the attendance data but I want the data of a specific user or a specific date.Another thing is that I have the following array, [0] => 1 [1] => 1 [2] => 8 //I know it is state but what does it mean? [3] => 2016-12-27 11:51:33
I have define getUserTemplate function. Please check the update.
$ template = $ this-> getUserTemplate (1, 1); I do not know what type of parameter I should put in $ finger, because I vote empty values and I want something like this for each user:
ocosgoulTUEdNKVRwRQ0I27BDTEkdMEONK9KQQunMVSBK6VPLEENk9MwgQ + DP3PBC1FTXEEG4ihpQQQ3vFQBO4K + WwERYilHAQ8ztktBEBbKQ0ELDtJrwQ7dqCiBCz + / + IgEGKrBjQQhEO0zBFQNDQYEKFbhrQQdLF1wBDxclfUELMNFXwQRvvmHBCslKUAEZfU1OQRzmIU5BXRW0eoEKPMltgQnQGUyBJQSfRIEUSzIdAQ45l3gBByHUTMEJ5yVhQQmi0UZBFHvYPUEGeKxTAQ6rFGNBCIYURoEOZS9VwR 1M4RoE5m0DRUTF8DHd6HdqxHAxWmj393M28DDX2FkanKi / t7LGsDCWqGarmt1BaL / 25nAwVaiipu / cgcQGKG6mcDBU6KYmr5wChQcobmJIsDBUKKJmZ1uExyi iZVYyD3JhoQJFTMDBLKJlVUIKcWShBVVTwMIkoWVkFQhyaaEVZ1rAwh6hVlUPAW + + + ZaYwMFMgU2CQCSinYdnJsDBR4Ghl3Q4owa3dnfAwUamdlZlR5p2Zi7AwUSndERlfOpWZlfAwUOiQzVkLDhDopRUVTLAwT2iQ0ZjIzVMolNFRcDBN6I0ZlQebVaiEjRVwMEyolVVUxVxXKEBRUTAwS iNGd3wMIToWdlBnWiRWZ3aMDDCqRmZjRpZmrAxASjd2Vnh2 / GAA ==
please help.
getUserTemplate(['pin'=>123])
On Wed, Jan 10, 2018 at 8:32 PM, MorganHuascar [email protected] wrote:
$ template = $ this-> getUserTemplate (1, 1); I do not know what type of parameter I should put in $ finger, because I vote empty values and I want something like this for each user:
ocosgoulTUEdNKVRwRQ0I27BDTEkdMEONK9KQQunMVSBK6VPLEENk9MwgQ + DP3PBC1FTXEEG4ihpQQQ3vFQBO4K + WwERYilHAQ8ztktBEBbKQ0ELDtJrwQ7dqCiBCz + /
- IgEGKrBjQQhEO0zBFQNDQYEKFbhrQQdLF1wBDxclfUELMNFXwQRvvmHBCslK UAEZfU1OQRzmIU5BXRW0eoEKPMltgQnQGUyBJQSfRIEUSzIdAQ45l3gBByHU TMEJ5yVhQQmi0UZBFHvYPUEGeKxTAQ6rFGNBCIYURoEOZS9VwR 1M4RoE5m0DRUTF8DHd6HdqxHAxWmj393M28DDX2FkanKi / t7LGsDCWqGarmt1BaL / 25nAwVaiipu / cgcQGKG6mcDBU6KYmr5wChQcobmJIsDBUKKJmZ1uExyi iZVYyD3JhoQJFTMDBLKJlVUIKcWShBVVTwMIkoWVkFQhyaaEVZ1rAwh6hVlUPAW + + + ZaYwMFMgU2CQCSinYdnJsDBR4Ghl3Q4owa3dnfAwUamdlZlR5p2Zi7AwUSnd ERlfOpWZlfAwUOiQzVkLDhDopRUVTLAwT2iQ0ZjIzVMolNFRcDBN6I0ZlQebVaiEjRVwMEyolVVUxVxXKEBRUTAwS iNGd3wMIToWdlBnWiRWZ3aMDDCqRmZjRpZmrAxASjd2Vnh2 / GAA ==
please help.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kamshory/ZKLibrary/issues/1#issuecomment-356619195, or mute the thread https://github.com/notifications/unsubscribe-auth/ASrdzxkqqZcF0uH8tWHuW4Bew3qxJ61Mks5tJMoIgaJpZM4Iuaz_ .
-- Kazi Abu Zubair Senior Assistant Engineer, IBSL +880 1534624087 email : [email protected]
for example the pin => 123, the result of getUserTemplate is: 01235411, but I want the encrypted fingerprint: ocosgoulTUEdNKVRwRQ0I27BDTEkdMEONK9KQQunMVSBK6VPLEENk9MwgQ + DP3PBC1FTXEEG4ihpQQQ3vFQBO4K + WwERYilHAQ8ztktBEBbKQ0ELDtJrwQ7dqCiBCz + / + IgEGKrBjQQhEO0zBFQNDQYEKFbhrQQdLF1wBDxclfUELMNFXwQRvvmHBCslKUAEZfU1OQRzmIU5BXRW0eoEKPMltgQnQGUyBJQSfRIEUSzIdAQ45l3gBByHUTMEJ5yVhQQmi0UZBFHvYPUEGeKxTAQ6rFGNBCIYURoEOZS9VwR 1M4RoE5m0DRUTF8DHd6HdqxHAxWmj393M28DDX2FkanKi / t7LGsDCWqGarmt1BaL / 25nAwVaiipu / cgcQGKG6mcDBU6KYmr5wChQcobmJIsDBUKKJmZ1uExyi iZVYyD3JhoQJFTMDBLKJlVUIKcWShBVVTwMIkoWVkFQhyaaEVZ1rAwh6hVlUPAW + + + ZaYwMFMgU2CQCSinYdnJsDBR4Ghl3Q4owa3dnfAwUamdlZlR5p2Zi7AwUSndERlfOpWZlfAwUOiQzVkLDhDopRUVTLAwT2iQ0ZjIzVMolNFRcDBN6I0ZlQebVaiEjRVwMEyolVVUxVxXKEBRUTAwS iNGd3wMIToWdlBnWiRWZ3aMDDCqRmZjRpZmrAxASjd2Vnh2 / GAA ==
so to be able to make a setUserTemplate in another biometric equipment, thanks
which library are you using
On Wed, Jan 10, 2018 at 9:04 PM, MorganHuascar [email protected] wrote:
for example the pin => 123, the result of getUserTemplate is: 01235411, but I want the encrypted fingerprint: ocosgoulTUEdNKVRwRQ0I27BDTEkdMEONK9KQQunMVSBK6VPLEENk9MwgQ + DP3PBC1FTXEEG4ihpQQQ3vFQBO4K + WwERYilHAQ8ztktBEBbKQ0ELDtJrwQ7dqCiBCz + /
- IgEGKrBjQQhEO0zBFQNDQYEKFbhrQQdLF1wBDxclfUELMNFXwQRvvmHBCslK UAEZfU1OQRzmIU5BXRW0eoEKPMltgQnQGUyBJQSfRIEUSzIdAQ45l3gBByHU TMEJ5yVhQQmi0UZBFHvYPUEGeKxTAQ6rFGNBCIYURoEOZS9VwR 1M4RoE5m0DRUTF8DHd6HdqxHAxWmj393M28DDX2FkanKi / t7LGsDCWqGarmt1BaL / 25nAwVaiipu / cgcQGKG6mcDBU6KYmr5wChQcobmJIsDBUKKJmZ1uExyi iZVYyD3JhoQJFTMDBLKJlVUIKcWShBVVTwMIkoWVkFQhyaaEVZ1rAwh6hVlUPAW + + + ZaYwMFMgU2CQCSinYdnJsDBR4Ghl3Q4owa3dnfAwUamdlZlR5p2Zi7AwUSnd ERlfOpWZlfAwUOiQzVkLDhDopRUVTLAwT2iQ0ZjIzVMolNFRcDBN6I0ZlQebVaiEjRVwMEyolVVUxVxXKEBRUTAwS iNGd3wMIToWdlBnWiRWZ3aMDDCqRmZjRpZmrAxASjd2Vnh2 / GAA ==
so to be able to make a setUserTemplate in another biometric equipment, thanks
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kamshory/ZKLibrary/issues/1#issuecomment-356629067, or mute the thread https://github.com/notifications/unsubscribe-auth/ASrdz1RiLJemts1CzxaH0NzhQoCSRvLjks5tJNGUgaJpZM4Iuaz_ .
-- Kazi Abu Zubair Senior Assistant Engineer, IBSL +880 1534624087 email : [email protected]
First I tried to use the library TAD-PHP-MASTER connected and showed me everything well, but when using the function: $ logs = $ b1-> get_user_template (['pin' => '123']); echo $ logs;
print me 12303381, because the finger_id = 0, size = 338 and valid = 1.
Then try to use the library ZKLIBRARY with the function: $ template = $ zk-> getUserTemplate ($ yud, $ finger); echo $ template;
but it only shows: Array ( )
Help porfa.
Everything else works, I just want that footprint of each user to pass it to other network equipment
User template is depend on your device. Because each brand have different format and version of ZK.
i am trying to push usertemplates to device, i cant anyone help me to push data to device i have been attcahed code inthis comment storeusertemplate.txt
thankyou