Re: How to eject cd-rom with php code?
| From: | Richard Lynch | Date: | Thu, 24 May 2007 23:05:49 +0000 |
| Subject: | Re: How to eject cd-rom with php code? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-255594@lists.php.net to get a copy of this message | ||
On Wed, May 23, 2007 6:23 am, Chetan Graham wrote:
> Hi all,
> I am writing a script and need to eject the cd-rom drive at some
> point.
> Does anyone have an idea how to do this?
> This is a simple command isn't it?
> I greatly appreciate your help
If you need to eject the CD ROM drive on the same machine on which PHP
is running, a simple: exec("eject") might do the trick...
If you're trying to eject the CD ROM drive on my local box from your
server, ummm, no, you can't do that...
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?