Griaule Biometrics

Home » Forums » FINGERPRINT SDK » Other Programming Languages » Use PHP/MySQL page to scan fingerprints?
159 replies [Last post]
johndubya
Offline
Joined: 2010-12-02
Rate this post:
0
No votes yet
Use PHP/MySQL page to scan fingerprints?

Our website is built on our CentOS web server, and we program in PHP and MySQL. I am wanting to know if any of your services will work on a PHP page, without having to program something else in another language (like C++, .NET, etc.). Is there any way to just simply include a Java or ActiveX component on a PHP page of our website and have that page be able to transmit the scanned fingerprint data to our database?

JB
Offline
Joined: 2010-09-15
Rate this post:
2.5
Average: 2.5 (2 votes)

Dear customer,

You can develop your app in PHP using our library. Check this sample:http://www.griaulebiometrics.com/page/system/files/private/samples/GrFinger_Javascript-PHP.zip

If you have more questions let us know.

 

Jan Beeck

Griaule Support Team

johndubya
Offline
Joined: 2010-12-02
Rate this post:
0
No votes yet

Ok, I downloaded that sample previously. But when extracting all those files and opening one of the pages in IE8, nothing happens. Here is what I see:

And since nothing happens, I have no idea how to keep testing out the sample to see if it can work for what we need.

And one more question: how does pricing work, if we were to use Griaule (the Javascript/PHP version)? Do we buy the SDK only? If we are integrating it into our website, would we still have to pay for multiple licenses?

Thanks for your help!

JB
Offline
Joined: 2010-09-15
Rate this post:
0
No votes yet

Dear customer,

On the client-side there is a file called GrFinger.js, chech this part:

 

//Must change to the path that contains the files "enroll.php", "identify.php" and "verify.php"

var url_server="http://192.168.0.100/GrFingerService/"

 

About the licensing you will have to buy licences for the clients and server.

 

Jan Beeck

Griaule Support Team

 

arvin
Offline
Joined: 2012-09-01
Rate this post:
0
No votes yet

Dear sir ,

 

                I am successuly chenged the  "enroll.php", "identify.php" and "verify.php"  file but show the [object error] . Please give me any solution for remove that error.

 

And also tell me about what change can i do for this code :- var url_server="http://192.168.0.100/GrFingerService/"

 

jorgegc21
Offline
Joined: 2013-01-16
Rate this post:
0
No votes yet

did you find the solution to the error you posted?

 

im having the same problem

arvin
Offline
Joined: 2012-09-01
Rate this post:
0
No votes yet

Dear Jan Beeck,

 

                           I am facing a problem after changed your suggested file, that one error come on screen "Htmlobject element has not initiliaze" in goolge crome

tris
Offline
Joined: 2013-02-12
Rate this post:
0
No votes yet

Hi,

JB

 

I found an video that describing the process to get the value from the fingerprint scanner using PHP or Else.

After that I found the code and downloaded the code for PHP where I found the follwoings :

 

Folder :

1. client-side

2. server-side

 

where I found some files.

when I try to run it it doesnot work , then I found your comment in this forum.

 

Now my questions are :

1. I have downloaded the trial version of SDK, How to integrate that with this PHP code.

2. I already made the changes in the specified line, It showing the error ( attached )

(var url_server="http://localhost/Javascript-PHP/server-side")

 

I am deciding to buy the license for this but need to sure about that this wil work properly and serve my purposes.

So please guide me so I can make this run with trial version or however it is. So My compnay can buy the products and license further.

 

TG

 

 

JB
Offline
Joined: 2010-09-15
Rate this post:
0
No votes yet

Dear customer,

 

You have to install the FP SDK in the machine.

The sample works with the activex of the library.

See this link:

http://www.griaulebiometrics.com/wiki/index.php/Fingerprint_SDK_2009:FAQ#How_does_the_JavaScript_and_PHP_sample_work.3F

 

If you have more questions let us know.

 

Support Team

johndubya
Offline
Joined: 2010-12-02
Rate this post:
0
No votes yet

Thanks Jan. I uploaded the files to our website, then edited that file and entered the correct URL to those files. After doing that and loading the enroll.html file, it is still doing the same thing. Am I supposed to have some file or something else in addition to just the Javascript/PHP files? Am I supposed to have an ActiveX file or something?

As for licensing, what would the price be for one server and, say, five clients? And by clients, are you talking about the installation of a fingerprint reader on one computer? Or installation of the client software?

johndubya
Offline
Joined: 2010-12-02
Rate this post:
0
No votes yet

Hi Jan, just catching back up with this to see if I can get help with my questions. Thanks for any help you guys can provide!

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Dear customer,

Do you have Fingerprint SDK correctly installed in your computer?
The ActiveX component is needed to the sample works. But you just have to install the Fingerprint SDK and at the initialize function, the ActiveX component will be searched in your computer.

You can see our prices through this page: http://www.griaulebiometrics.com/page/en-us/store
If you want to buy a license pack that does not have the price listed, you can send an e-mail to and our vendors you make a proposal for you, based on your needs.

Best regards,

 

--
Matheus Smythe Svolenski
Griaule Biometrics Support Team

kilowatt
Offline
Joined: 2011-03-07
Rate this post:
0
No votes yet

Hello GriauleBiometric,

 

Im doing my final year project which using PHP and MYSQL and i want to intergrate with Microsoft Fingerprint Reader (Digital Persona).

 

as i read from this thread http://www.griaulebiometrics.com/page/en-us/forum/readers-support-and-fingercap .. it means i can use my Microsoft Fingerprint Reader by Uninstall 1st the Digital Persona driver and install the Finger Cap to use it and i must have the license pack too. is it?

 

but how can i make my log in page by using the Fingerprint reader. am I have to do some coding or it already have the full coding and i just have to do some adjustment?.

 

Im interested with Fingerprint SDK 2009 Single Computer, how can i make order. i hope can get respond from Griaule Biotmetric ASAP.

 

thank you.

JB
Offline
Joined: 2010-09-15
Rate this post:
0
No votes yet

Dear customer,

You only need Finger Cap for the microsoft's reader, you could do your log as you wish (since is your app). You could buy a single license on our website.

 

Jan Beeck

Griaule Support Team

kilowatt
Offline
Joined: 2011-03-07
Rate this post:
0
No votes yet

thank you JB,

 

i have tested this sample  http://www.griaulebiometrics.com/page/system/files/private/samples/GrFinger_Javascript-PHP.zip with SDK 2009 30 Days Trial installed and using Microsoft Fingerprint device. I cant run it  on Firefox but can on Internet Explorer. When i use to run the file from http://localhost by using EasyPHP it seems fine but the image of the fingerprint does not appear & not save any .bmp file @ MyDocument. here some screenshot when i run it from http://localhost.

 

EnrollIdentifyVerify

I dont have idea what is this three page doing actually on Verify i dont know what ID that i have to verify and i still dont get the idea from this three form i can make my system Log In page using a Fingerprint.

but when i run it not from the http://localhost, all the three form run same as the above screenshot but this time the image of my fingerprint appear and save as teste.bmp @ MyDocument. here the path i run from.

 

 

other than that what is this mean $sqliteerror, and it does support mySql as the database right?.

 

thank you.

 

kilowatt
Offline
Joined: 2011-03-07
Rate this post:
0
No votes yet

can i have some respond here? ASAP.

 

i want to use it if it fits my need.

JB
Offline
Joined: 2010-09-15
Rate this post:
0
No votes yet

Dear customer,

The ActiveX only works with IE. Then you have to provide permissions to the browser and to the file in order to work.

 

Jan Beeck

Griaule Support Team

haile.s
Offline
Joined: 2009-02-05
Rate this post:
0
No votes yet

can you use mysql to store the data instead of sqllite

am using php/mysql in myproject

JB
Offline
Joined: 2010-09-15
Rate this post:
0
No votes yet

Dear customer,

You can use MySQL in your app.

 

Jan Beeck

Griaule Support Team

wambugu
Offline
Joined: 2011-04-18
Rate this post:
0
No votes yet

Hey everyone.i am configuring biometric sdk on  a php/mysql project. i have been able to capture the thumb image in my webpage what next so that it save that image  to the database

tris
Offline
Joined: 2013-02-12
Rate this post:
0
No votes yet

Hi,

 

Could you please help me how you have done that?????

 

Tris

wambugu
Offline
Joined: 2011-04-18
Rate this post:
0
No votes yet

 

Hey everyone there i have now the image on my webpage how do i store that data in mysql.

 

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Dear customer,

After you've captured the fingerprint image, you'll have to use the Extract method to get the fingerprint information.
This infomation should be put in a blob field, so you can upload it to your MySQL database.

Hope it helps you.
Best regards,

 

--
Matheus Smythe Svolenski
Griaule Biometrics Support Team

wambugu
Offline
Joined: 2011-04-18
Rate this post:
0
No votes yet

m.svol well on my webpage i cant see where i can extract my image. Just enroll button is there.where could i have gone wrong

Thanks alot for your earlier post

wambugu
Offline
Joined: 2011-04-18
Rate this post:
0
No votes yet

when am on this link:  http://localhost/grFinger/jp/clientside/enroll.hta.

i only access the enroll menu. i cannot access the extract menu,load and Save image.

what can i do to have all menu appear just like the sample demo on sdk so that  i can be able to extract and save the image.

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Dear customer,

I'm sorry, I didn't remember that, but the sample you're using, when you click at enroll button, it already extracts the information from the finger.
So you just have to get this information and upload to your database.

The sample does not implement that, it adds the template extracted to a ".txt database". To use your MySQL database you'll have to adapt the code as you wish.

Best regards,

 

--
Matheus Smythe Svolenski
Griaule Biometrics Support Team

wambugu
Offline
Joined: 2011-04-18
Rate this post:
0
No votes yet

so it means that i dont have to worry about the extract menu as long us i have clicked enroll button that  image will go to the mysql

when i place my thumb onto the reader i get this information

Started
FingerDown
StartEnroll
Enrollment Not Ready
Put your Finger Again
FingerUp
FingerDown
Enrollment Not Ready
Put your Finger Again
FingerUp
FingerDown
Sufficient enrollment
Put you finger again
FingerUp

does this mean that the image have been stored or what does it mean.quite lost hope you understand

raag
Offline
Joined: 2013-08-20
Rate this post:
0
No votes yet

we are getting object error ...when we press enroll button ...wht setting should we do in order to run device in browzer..

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Dear customer,

The Enroll asks you to place your finger over the reader some times, so it can get more informations about your finger.
When it says it's done, you'll have the template with the needed information, so you can store it in your database.

Best regards,

 

--
Matheus Smythe Svolenski
Griaule Biometrics Support Team

wambugu
Offline
Joined: 2011-04-18
Rate this post:
0
No votes yet

Once again thanks for your input but allow me to clarify further.if it says its done does it store the template automatically to mysql database or do you have to save it yourself.

if you were to save it yourself what are the procedures;this is where am lost

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Dear customer,

The sample code is saving the template in an emulated database, in a .txt file.
To store it in MySQL database, you'll have to get the field with the template, which is a blob field, and add it to your database.
You'll have to code that.

Best regards,

 

--
Matheus Smythe Svolenski
Griaule Biometrics Support Team

wambugu
Offline
Joined: 2011-04-18
Rate this post:
0
No votes yet

one more clarification in that emulated txt file does it save it automatically there  without asking someone where to save?

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Dear customer,

In this case, yes, it saves automatically.
You can take a look at all the sample code to see how it's done.

Best regards,

 

--
Matheus Smythe Svolenski
Griaule Biometrics Support Team

wambugu
Offline
Joined: 2011-04-18
Rate this post:
0
No votes yet

Am using a php/javascript file i downloaded from your site  i have done many test samples.where can i locate the  emulated txt file.

i have also done another sample for c# again where is the .txt file  located.please

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Dear customer,

The .txt file appears automatically on the server-side folder once you run the application.

Best regards,

 

--
Matheus Smythe Svolenski
Griaule Biometrics Support Team

wambugu
Offline
Joined: 2011-04-18
Rate this post:
0
No votes yet

Thanks alot i think the problem is with my explorer every time i run an enroll  a debug dialog box appears  i think thats why i cant find the txt file  on my server side.

whats the recommened internet explorer version for running this sdk. am running explorer 8.0 i have configured active x but still that dialog box asking for dubugging

wambugu
Offline
Joined: 2011-04-18
Rate this post:
0
No votes yet

this is the exact error am getting from my explorer.

an alert box that says."This webpage contains errors that might prevent  from displaying it  or working correctly" .

is my problem with the version of my explorer.am using explorer 8

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Dear customer,

Did you modified any part of the sample code? It should work correctly on IE6.0 and latest.
When exacly you're getting this error?

Best regards,

 

--
Matheus Smythe Svolenski
Griaule Biometrics Support Team

wambugu
Offline
Joined: 2011-04-18
Rate this post:
0
No votes yet

I just modified the path only to point to where php scripts are .mostly it appears if there are two windows running  like one for identify and one for enroll.

again when it says successful enrolment does it mean the template have been captured; am asking this because you told me that you are to hold down your thumb until it says done

zayro
Offline
Joined: 2011-04-14
Rate this post:
0
No votes yet

Good day I have a question I do not get the image nor do I have connection to thedatabase I have the local server WampServer I could collaborate in its configuration for the proper functioning of the application

zayro
Offline
Joined: 2011-04-14
Rate this post:
0
No votes yet

not have a tutorial or video on this internet explorer settings.
and how it should work properly because I still have not seen a forum that someone willserve this application

Please await your prompt response and assistance

wambugu
Offline
Joined: 2011-04-18
Rate this post:
0
No votes yet

zayro am not yet there but i can help yout out a little.

this thing only works with explorer and you also need to enable active x from your internet tools.

you also need to change the path to point your php files.open javascript file

and lastly you need to save your html files with a .hta extension rather than .html.

hopefully this helps you abit

zayro
Offline
Joined: 2011-04-14
Rate this post:
0
No votes yet

I now generates an error when running the enroll.hta says there is error
line javascript code 182 and then to only me I've changed url_server
shows the trace but does nothing more : ( please can help!

zayro
Offline
Joined: 2011-04-14
Rate this post:
0
No votes yet

I now generates an error when running the enroll.hta says there is error
line javascript code 182 and then to only me I've changed url_server
shows the trace but does nothing more : ( please can help!

JB
Offline
Joined: 2010-09-15
Rate this post:
0
No votes yet

Dear customer, 

The Fingerprint SDK 2009 must be installed on your PC in order to work the PHP sample.

If you have more questions, let us know.

 

 

Jan Beeck

Griaule Support Team

tris
Offline
Joined: 2013-02-12
Rate this post:
0
No votes yet

Dear

JB

 

I have installed the SDK 2009 Trial version and its installed successfully, But failed to run

 

Error screenshot  Attached, Please advise ASAP you can. Its urgent for us to solve this issues.

 

 

TG

ldsantos
Offline
Joined: 2011-05-04
Rate this post:
0
No votes yet

Bom dia!

Por favor, gostaria de uma ajuda.

Li todo esse post e fiz todo o procedimento descrito.

Consigo visualizar a digital escaneada no Internet Explorer e o arquivo bmp gerado na unidade C.

No IE aparece somente a digital escaneada, mas não aparece nenhuma marca vermelha como na demo do SDK 2009.

Também não visualizo nenhum arquivo txt gerado com as coordenadas para armazenamento no banco de dados.

Com relação ao banco de dados, como devo alterar o código fonte para que seja utilizado o MySQL ao invés do SQLite ?

O que posso estar fazendo errado?

Obrigado!

Luciano

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Prezado cliente,

O seu exemplo está funcionando corretamente?
Não compreendi o que você quis dizer com marca vermelha.

Para usar o MySQL ao invés do SQLite será necessário substituir alterar o arquivo GrFingerService.php. Você precisa alterar todas as funções sqlite_... para as equivalentes em MySQL.

 

Atenciosamente,

 

--
Matheus Smythe Svolenski
Griaule Biometrics Support Team

ldsantos
Offline
Joined: 2011-05-04
Rate this post:
0
No votes yet

Oi Matheus

As marcas vermelhas que me refiro são os pontos de checagem da digital que o sistema faz automaticamente após a imagem ter sido capturada.

Quando executo o arquivo enroll.html, consigo capturar a minha digital e a mesma aparece corretamente no browser, mas o IE sempre abre uma janela informando que o objeto não suporta essa propriedade ou método. Após isso verifico que foi salvo um arquivo bmp na unidade C, mas não existe nenhum arquivo txt gerado no diretorio server-side.

Segue imagem da saída que recebo no IE:

Imagem Hospedada por bRImG.com - Hospedagem de Imagens

Não está faltando algo? Eu não deveria ter o arquivo txt com informações para serem armazenadas no banco de dados ou existe alguma outra forma de armazenar a imagem?

Espero ter sido claro.

Obrigado pela ajuda!

luigi.l
Offline
Joined: 2010-04-19
Rate this post:
0
No votes yet

Acctually there is no .txt file, this sample creates an sqlite database, this is a video to show the expected behavior, if you do the same as the video and an error appears send us the issue.

Needs:

- Fingerprint sdk installed;

- Apache server running;

- Internet explorer with activex security disabled;

 

ldsantos
Offline
Joined: 2011-05-04
Rate this post:
0
No votes yet

Great!

Now I know exactly what should happen.

I'll try do it and after that post the results.

Tks