techker Posted October 29, 2008 Share Posted October 29, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/ Share on other sites More sharing options...
DarkWater Posted October 29, 2008 Share Posted October 29, 2008 Why would you want it to be a web app? This is probably better handled in a desktop application...web apps aren't the only thing that can connect to databases, you know. Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-677990 Share on other sites More sharing options...
techker Posted October 29, 2008 Author Share Posted October 29, 2008 i know but i have a hard time with applications..lol the only app i have an ok time with is access... but then again it uses asp and i use mysql on my servers.. Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-677992 Share on other sites More sharing options...
corbin Posted October 30, 2008 Share Posted October 30, 2008 Uhhh I don't think Access is the type of application he meant. I think he meant like a desktop app. Like a GUI, not based in the web. Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-678121 Share on other sites More sharing options...
techker Posted October 30, 2008 Author Share Posted October 30, 2008 i know but you still need to make it? inless there is something else out there to make applications then vb and access?please let me know.thx Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-678288 Share on other sites More sharing options...
Mchl Posted October 30, 2008 Share Posted October 30, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-678295 Share on other sites More sharing options...
techker Posted October 30, 2008 Author Share Posted October 30, 2008 for shure ther is lots but there should be an application to work them? i know vb and access.. Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-678296 Share on other sites More sharing options...
Mchl Posted October 30, 2008 Share Posted October 30, 2008 Not really... Using these languages is quite different from what you've learned with Access and VB... I'm not even sure if I'd be able to explain it in a simple way right now... Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-678297 Share on other sites More sharing options...
DarkWater Posted October 30, 2008 Share Posted October 30, 2008 I'd probably use C++ for this. First, I'd find a way to pipe in the data sent from the scanner, then I'd process it in C++. Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-678308 Share on other sites More sharing options...
Mchl Posted October 30, 2008 Share Posted October 30, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-678320 Share on other sites More sharing options...
techker Posted October 30, 2008 Author Share Posted October 30, 2008 i guess i will keep on googling.. Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-678347 Share on other sites More sharing options...
DarkWater Posted October 31, 2008 Share Posted October 31, 2008 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++. Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-678988 Share on other sites More sharing options...
Stooney Posted October 31, 2008 Share Posted October 31, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-679045 Share on other sites More sharing options...
JasonLewis Posted October 31, 2008 Share Posted October 31, 2008 You could always use PHP-GTK if you wanted to stick with your knowledge of PHP. Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-679109 Share on other sites More sharing options...
dantro Posted October 31, 2008 Share Posted October 31, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-679170 Share on other sites More sharing options...
Mchl Posted October 31, 2008 Share Posted October 31, 2008 Well.. that's another package that's supposed to be on PECL, but I can't find it. Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-679175 Share on other sites More sharing options...
techker Posted October 31, 2008 Author Share Posted October 31, 2008 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! Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-679198 Share on other sites More sharing options...
Daniel0 Posted October 31, 2008 Share Posted October 31, 2008 Well.. that's another package that's supposed to be on PECL, but I can't find it. You need to look harder: http://pecl.php.net/package/dio Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-679409 Share on other sites More sharing options...
DarkWater Posted October 31, 2008 Share Posted October 31, 2008 In all seriousness, PHP really would not be the best tool for this, IMO. Quote Link to comment https://forums.phpfreaks.com/topic/130654-card-scanner/#findComment-679616 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.