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? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php