Jump to content

Recommended Posts

hey guys i was wondering if any body has tryed doing a web bassed application with a bar code scanner?

 

see im doing an web site for my boddy that is opening a gym and he wants an application that could contain the members information and that when they come in they need to scan there membership card.

 

see the thing is ,is that the cursor needs to be always in the box so when it scans a card it retreives the members info.but if the guy is doing something else thats what messes me up??

 

im a clear?lol

Link to comment
https://forums.phpfreaks.com/topic/130654-card-scanner/
Share on other sites

Well... there's like half a zillion programming languages, with Visual C++ and Java being quite a popular choice. Although if you don't know them by know, learning them to the point where you can create a database based application could take you quite a lot of time.

Link to comment
https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-678295
Share on other sites

Scanner's producer has most likely published a library, or details of protocol if it's using a serial port. C++ or it's variant would probably be the best choice. AFAIK you can connect it to mysql as well, although I never tried it.

 

Yup, there's a MySQL API for both C and C++.

Link to comment
https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-678988
Share on other sites

I think what he was trying to get at is that he knows PHP/MySQL/etc but not languages for desktop apps (c++/etc).  If that's the case he could always just run an internal website not accessible to the internet and use that.  Not the right tool for the job, but a tool he already knows how to use at least.

Link to comment
https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-679045
Share on other sites

if you can connect your scanner via a port to your server

you can use "Direct IO FUNCTIONS" in php.

 

just take a look here:

http://de3.php.net/manual/en/ref.dio.php

 

interesting..

 

i think i will stick to the web based application.all he has to do is scan the card .

i can always transform his pc to a server with wamp..

 

still looking in to this..thx guys!

Link to comment
https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-679198
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.