yes we can read the cd label in PHP by the following shell script

dd if=/dev/cdrom bs=1 skip=32808 count=32 through shell_exec() function

Adam Williams wrote:
Is it possible to have PHP read cd label information?  You know in windows
like after you put in a CD and use Windows Explorer and go to your CD rom
drive's letter it will say like D: (MSOffice2K) or D: (date of burned cd)
or D: (XPProCD), etc...If you know what I am talking about, is there a way
to have PHP read that cd label?

			Adam


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to