<?php
/********************************/
/* Code By Mr Korosh Raoufi */
/* WwW.k2-4u.CoM */
/* Y! : K2_4u */
/* korosh@raoufi.net */
/* *************************/
/* and Command Line CD burner By : */
/* http://isorecorder.alexfeinman.com/CreateCD.htm */
/********************************************************/
@include_once('CDburn.class.php');
$CDburn = new CDburn();
/* Show DC ROM and.. Information */
echo $CDburn->ShowInfo();
/* Erases The CD full or normall */
echo $CDburn->Erases('full');
/* Burn CD */
$opt= array(
'drive'=>'H', // DC ROM Name
'speed'=>'52', //default fastest speed that media supports is used
'erase'=>'full', // Or normall
'label'=>'CD Label',
'bootable'=>'imagefile.img', //image bootable File
);
echo $CDburn->Burn('E:/Data/*.*',$opt);
?>
|