Re[2]: [PHP] reading CD information

From: Date: Wed, 05 Feb 2003 18:37:54 +0000
Subject: Re[2]: [PHP] reading CD information
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-134458@lists.php.net to get a copy of this message
Thanks Tom, that works perfect! Adam On Thu, 6 Feb 2003, Tom Rogers wrote: > Hi, Adam > > > TR> You could try the vol command using exec{} and parse out the volume name > > TR> -- > TR> regards, > TR> Tom > > This should do it: > <? > exec("vol g:",$result); > $label = trim(strrchr($result[0],' ')); > echo 'Label is '.$label.'<br>'; > ?> > >

« previous php.general (#134458) next »