سؤال

first of all, I want to be clear on this point, the PHP script will run on the client side (not server side, I know it's impossible!).

How can PHP detect USB key/USB drive when it is plugged on the USB port?

Or, how can it detest USB when running the command (not at the time we plug it on the computer) if it's more possible...

It's under windows. Under MAC should be good too but I really need that for Windows.

Any idea ? using a command prompt and analysing retrieved informations (ignoring cd/dvd drive then let the user choose)

Don't know if I'm enought clear here but give your idea and let me know if you have any questions.

Thank you

لا يوجد حل صحيح

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top