PHP 8.5.0 Alpha 4 available for testing

Voting

: max(four, zero)?
(Example: nine)

The Note You're Voting On

Pedro Heliodoro
19 years ago
Using the Windows Media Player OCX and the latest snap of PHP 5.1 i was able to eject a CD-ROM drive

<?php
//create an instance of Windows Media Player
$mp = new COM("WMPlayer.OCX");
//ejects the first cd-rom on the drive list
$mp->cdromcollection->item(0)->eject();

?>

<< Back to user notes page

To Top