Can php control USB port on PC?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • veg_all@yahoo.com

    Can php control USB port on PC?

    I may be totally off the track but I want to be able to control the
    USB port via a php script. Is this possible? Here is what I am trying
    to do:
    I want to create a simple device with three lights that plugs into a
    usb port. Now I want to be able to control which lights are on from
    any web browser anywhere in the world.

    Do I need to use a compiled language, like c++ for this? The closest
    thing I have found is this site:

    Explore top Indian casinos with Bitcoin bonuses, secure player accounts, live streaming options, and exclusive promotions to enhance your online betting experience.


    Any suggestions to point me in the right direction? I hope I can use
    php since that is what I am most familiar with.

  • Darko

    #2
    Re: Can php control USB port on PC?

    On Apr 16, 6:47 pm, veg_...@yahoo.c om wrote:
    I may be totally off the track but I want to be able to control the
    USB port via a php script. Is this possible? Here is what I am trying
    to do:
    I want to create a simple device with three lights that plugs into a
    usb port. Now I want to be able to control which lights are on from
    any web browser anywhere in the world.
    >
    Do I need to use a compiled language, like c++ for this? The closest
    thing I have found is this site:
    >
    Explore top Indian casinos with Bitcoin bonuses, secure player accounts, live streaming options, and exclusive promotions to enhance your online betting experience.

    >
    Any suggestions to point me in the right direction? I hope I can use
    php since that is what I am most familiar with.
    Maybe you could (if the application is on a Linux server, of course)
    just open /dev/sda, or whatever your device is, file and read/write to
    it. You just have to see about the protocol of your device. I don't
    know if that can help.

    Comment

    • Steve

      #3
      Re: Can php control USB port on PC?

      yes, however...

      you have to have access to the pc and device that php will be
      massaging...whe ther it's on the server where php runs or other pc.


      <veg_all@yahoo. comwrote in message
      news:1176742026 .478747.188620@ o5g2000hsb.goog legroups.com...
      |I may be totally off the track but I want to be able to control the
      | USB port via a php script. Is this possible? Here is what I am trying
      | to do:
      | I want to create a simple device with three lights that plugs into a
      | usb port. Now I want to be able to control which lights are on from
      | any web browser anywhere in the world.
      |
      | Do I need to use a compiled language, like c++ for this? The closest
      | thing I have found is this site:
      |
      | http://www.trackercam.com/TCamWeb/motorpod.htm
      |
      | Any suggestions to point me in the right direction? I hope I can use
      | php since that is what I am most familiar with.
      |


      Comment

      Working...