haku87 Posted December 24, 2008 Share Posted December 24, 2008 I got two extension to added into php ext. One is Sensor.dll, Another one is USBDLL.dll. However, after i loaded it, i unable to use the function inside Sensor.dll.. Why? Quote Link to comment https://forums.phpfreaks.com/topic/138281-loading-extension-into-php/ Share on other sites More sharing options...
trq Posted December 24, 2008 Share Posted December 24, 2008 Did you restart the server after making changes to your configuration? Quote Link to comment https://forums.phpfreaks.com/topic/138281-loading-extension-into-php/#findComment-722991 Share on other sites More sharing options...
haku87 Posted December 24, 2008 Author Share Posted December 24, 2008 Yes.. but some sort it does not work.. how to call the function inside the DLL file. Quote Link to comment https://forums.phpfreaks.com/topic/138281-loading-extension-into-php/#findComment-723000 Share on other sites More sharing options...
haku87 Posted December 24, 2008 Author Share Posted December 24, 2008 I now trying to use the driver provided by the fingerprint reader to read data from USB port. However, when i try to load those dll as extension in php. I am unable to call those function in php. Example : QSUSB.dll got a function call QS_ReadData. <?php QS_ReadData(); ?> Error: called to undefined function .. Quote Link to comment https://forums.phpfreaks.com/topic/138281-loading-extension-into-php/#findComment-723011 Share on other sites More sharing options...
trq Posted December 24, 2008 Share Posted December 24, 2008 Are these dll's actually php extensions? Quote Link to comment https://forums.phpfreaks.com/topic/138281-loading-extension-into-php/#findComment-723068 Share on other sites More sharing options...
haku87 Posted December 24, 2008 Author Share Posted December 24, 2008 No, What i trying to do now is to read input from the fingerprint reader which is connected to USB port.. Is there anyway to do that? It is connected to the server side. I has the driver and the program. However, the program does not provided wat i wan.. I need to create a program to read the fingerprint reader.. How do i do it? Quote Link to comment https://forums.phpfreaks.com/topic/138281-loading-extension-into-php/#findComment-723084 Share on other sites More sharing options...
corbin Posted December 25, 2008 Share Posted December 25, 2008 Oh.... To avoid getting complicated, PHP DLLs are specifically coded for PHP. You could probably make a wrapper of the DLL that handles things PHP-style, but have fun ;p. Quote Link to comment https://forums.phpfreaks.com/topic/138281-loading-extension-into-php/#findComment-723483 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.