|
-
Dec 13th, 2009, 03:35 PM
#1
Thread Starter
New Member
Name of cd included in cd-rom :wave:
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
-
Dec 15th, 2009, 08:58 PM
#2
Fanatic Member
Re: Name of cd included in cd-rom :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...
-
Dec 15th, 2009, 09:50 PM
#3
Re: Name of cd included in cd-rom :wave:
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.
-
Dec 16th, 2009, 01:58 PM
#4
Thread Starter
New Member
Re: Name of cd included in cd-rom :wave:
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.
-
Dec 16th, 2009, 03:40 PM
#5
Re: Name of cd included in cd-rom :wave:
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|