If you are on linux just shell out the linux eject command (which should
eject the drive for you).
If you are on windows (or another OS), then I'm sure you can still find a
similar commnad line app that will do the same task.
There isn't a built in way in PHP.
Andrew
----- Original Message -----
From: "Chetan Graham" <chetan_graham@xxxxxxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Wednesday, May 23, 2007 12:23 PM
Subject: How to eject cd-rom with php code?
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
Blessings,
Chetanji
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php