Re: reading CD information
| From: | Sreekandh | Date: | Thu, 06 Feb 2003 04:30:40 +0000 |
| Subject: | Re: reading CD information | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134543@lists.php.net to get a copy of this message | ||
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