Detecting USB Device

  • Thread starter Thread starter Wee
  • Start date Start date

Wee

Wee

Associate
Joined
25 Apr 2006
Posts
130
Location
Scotland
Currently working on a little PHP project, and need someway of detecting when a USB device is attached to the users machine.

Is there anyway in achieving this? I understand that it's possible with Java, but I have zero experience with it.
 
My mistake. My wording wasn't to great. Something like this can't be done in PHP, was just giving a little background into what I was doing. Really appreciate the offer for the code, but I'm definetily going to be doing the entire project in PHP.

I'm looking to see when a client has a USB device attatched, and scan the files in the USB device to see if any MP3's are there ... then display a local link to the files.
 
Last edited:
Cheers for the replies guys, much appreciated.

The only reason it's in PHP is because it's the language I'm most comfortable with. Don't really have the time to sit down and learn a new language for the project. Which is why I assumed using a Java Applet was the only way around getting it to work.
 
Ah, so without ditching PHP and moving the project over to Java or .NET ... there isn't anyway of achieving this?

Cheers for all the help guys. Much appreciated.
 
Back
Top Bottom