You are here: Re: Can php control USB port on PC? « PHP Programming Language « IT news, forums, messages
Re: Can php control USB port on PC?

Posted by Darko on 04/16/07 16:59

On Apr 16, 6:47 pm, veg_...@yahoo.com 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:
>
> 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.

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация