Results 1 to 5 of 5

Thread: Name of cd included in cd-rom :wave:

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2009
    Posts
    3

    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

  2. #2
    Fanatic Member BillBoeBaggins's Avatar
    Join Date
    Jan 2003
    Location
    in your database, dropping your tables.
    Posts
    628

    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...

  3. #3
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    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.

  4. #4

    Thread Starter
    New Member
    Join Date
    Dec 2009
    Posts
    3

    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.

  5. #5
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    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
  •  



Click Here to Expand Forum to Full Width