Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Korosh Raoufi  >  Burn CD with PHP  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Exampe
Class: Burn CD with PHP
Burn CD using CreateCD Windows program
Author: By
Last change:
Date: 4 years ago
Size: 878 bytes
 

Contents

Class file image Download
<?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);




?>