#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2013
    Posts
    11
    Rep Power
    0

    Barcode reader php program


    is it possible to read a usb port of pc connected to a barcode reader with php program ?

    http://oi43.tinypic.com/2ngzxpi.jpg
    Code:
    <html> <body>  <?php  ?>  </body> </html>
  2. #2
  3. Lord of the Dance
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Oct 2003
    Posts
    3,673
    Rep Power
    1958
    note sure which PC you refer to; the client or server?

    PHP is a server-side language, so you cannot read anything from the client PC.

    Try to explain what you want to do, e.g. WHY do you want to read from a barcode reader?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2013
    Posts
    11
    Rep Power
    0
    i was thinking about connecting a usb barcode device to my computer .....


    i was trying to understand it in terms of arrays ....


    %%%%%%%%%%%% [][][][][][][][][][][][][]

    i dont know which part of the computer program takes this device ....

    %%%%%%%% [][][][][][][]

    from their i was thinking about getting it to my php script ...

    %%%%%% [][][][][]
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Dec 2004
    Posts
    3,003
    Rep Power
    376
    i was told previously that barcode reader would just output the numbers. You would probably need java or C++/C# etc that can ( i hope and think) interact with the barcode reader
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2013
    Posts
    11
    Rep Power
    0
    Code:
    http://oi41.tinypic.com/fwsnf9.jpg  http://oi43.tinypic.com/2ngzxpi.jpg
    shouldnt php be able to connect to one of those ?



IMN logo majestic logo threadwatch logo seochat tools logo