Hello,
I need with PHP get name of CD/DVD included in CD/DVD-ROM.
I wanna make a databes of files on CDs and I need name of CD too.
Thanks :wave:
Printable View
Hello,
I need with PHP get name of CD/DVD included in CD/DVD-ROM.
I wanna make a databes of files on CDs and I need name of CD too.
Thanks :wave:
So you want a webpage that access the users CD/DVD drive, indexes the files, then stores them? Is the web server the one with the drive where you will be indexing the files, as I think that is the only way you will have permissions to read a users drive...
you can't get a PHP script to look at a user's CD-ROM drive, but you could get it to look at the CD-ROM of the system that PHP is being run from. however, I'm not sure you would be able to extract the CD's name -- the only thing you could possibly do is get the CD's label (which would be displayed in "My Computer" on a windows machine), but I'm not even sure it would be able to get that using only PHP.
you could maybe create a new COM object within PHP and do something with that, but I've really no idea. and I can't help you with that.
No, I don't want to read CD from user. I have Xamp(Apache, Mysql) on my computer and I use php to make Photoalbums, list of movies and others. I can only read CD-name from my CD-ROM with php.
I made this in Visual Basic too but I like PHP and Mysql.
well, like I said in my last post, you might be able to create a COM object to find out the name of the disc in the tray, but I don't know of any way to do it with just PHP.