Get title of DVD in DVD-ROM
Hello, I have a problem. :wave:
I have on my computer XAMP and I need get title of DVD in DVD-ROM with PHP or Javascript or VBScript. I want to make list.
For exemple:
dvd_title files_count size_of_all_files
dvd_title files_count size_of_all_files
dvd_title files_count size_of_all_files
dvd_title files_count size_of_all_files
and others :)
I made this in visual basic, but I want this in PHP :-)
Is it possible with php ? I think get title of DVD in DVD-ROM.
Thank you :)
Re: Get title of DVD in DVD-ROM
If you are savvy enough to make a batch file that can retrieve that data you can run it using the slanted quotes `.
For example
Code:
echo '<xmp>', `dir C:\\`, '</xmp>';
will output the contents of C:
Note that although a lot of syntax highlighters will freak out when you escape characters in commands, it is necessary.
Re: Get title of DVD in DVD-ROM
Or just modify the existing VB to write out the title of the DVD, then run it, again using backticks.