RE: How to eject cd-rom with php code?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Chetan Graham [mailto:chetan_graham@xxxxxxxxxxxxxx]
> Sent: 23 May 2007 12:23
> To: php-general@xxxxxxxxxxxxx
> 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
> 

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux