> -----Original Message-----
> From: Chetan Graham [mailto:[EMAIL PROTECTED]
> Sent: 23 May 2007 12:23
> To: php-general@lists.php.net
> Subject: [PHP] 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
> 

Pass the appropriate system (i.e. command prompt) command to exec():

http://uk.php.net/exec

Edward

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

Reply via email to