haku87 Posted December 24, 2008 Share Posted December 24, 2008 The fingerprint reader that i brought come with a driver and a software named BioNeta. however, i do not want to use the software to read data from the fingerprint sensor. Is php possible to make use of the driver provided to read data from the fingerprint sensor. It is installed on the server side, not client side. Quote Link to comment https://forums.phpfreaks.com/topic/138273-reading-from-usb-port/ Share on other sites More sharing options...
genericnumber1 Posted December 24, 2008 Share Posted December 24, 2008 You can use system(), exec(), tick marks, etc to call command line arguments... but if you need actual low level facilities, that's best left to c/c++ programs called through one of the aforementioned functions. Quote Link to comment https://forums.phpfreaks.com/topic/138273-reading-from-usb-port/#findComment-722992 Share on other sites More sharing options...
RussellReal Posted December 24, 2008 Share Posted December 24, 2008 php has com objects, you could use a com object connection to connect to the driver application and activate/retrieve data from it, however.. I never used com objects, and probably never will, but php.net has an example of how to communicate with microsoft word http://us2.php.net/manual/en/class.com.php Quote Link to comment https://forums.phpfreaks.com/topic/138273-reading-from-usb-port/#findComment-723017 Share on other sites More sharing options...
haku87 Posted December 24, 2008 Author Share Posted December 24, 2008 i try it out with this code $word = new COM("bioneta.application") or die("Unable to instantiate Word"); The software is BIONETA.exe residue at C:\QS-Tech. however, i cannot able to make a connection. Actually i used a DLL viewer to view the dll files that the software provided. The low-level function that i wanna to use is in Sensor.dll.. How do i make a connection to it? Quote Link to comment https://forums.phpfreaks.com/topic/138273-reading-from-usb-port/#findComment-723051 Share on other sites More sharing options...
RussellReal Posted December 24, 2008 Share Posted December 24, 2008 not sure bro, but I know you can use dlls also.. you're gonna have to wait until like the SERIOUS PRO phpers start to come on lol I don't work with dlls or com objects, never needed to =\.. sorry man Quote Link to comment https://forums.phpfreaks.com/topic/138273-reading-from-usb-port/#findComment-723057 Share on other sites More sharing options...
trq Posted December 24, 2008 Share Posted December 24, 2008 MS's com interface (like many things ms) is not pretty. And no, your not likely to get much help from "SERIOUS PRO phpers". While php provides a com interface, the objects provided via com are in no way related to php. Your best bet is to look at any documentation provided by the dll distributor, failing that, Id suggest digging around places like http://msdn.com. Good luck, com was the main reason I stopped programming asp (about 8 years ago). Closed source developers not only like to hide there object implementation but they usually write very scarce documentation as well. Quote Link to comment https://forums.phpfreaks.com/topic/138273-reading-from-usb-port/#findComment-723073 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.