-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
not really sure what im doing i would like to have this for 3d printing.
https://www.youtube.com/watch?v=JDYsk1KQaHk
midi-class-php/midi.class.php(1403) : eval()'d code on line 1
<?php
//if ($file!=''){}
require('rttl.class.php');
$file = fopen("t.mid", "r") or die("Unable to open file!");
echo fread($file,filesize("t.mid"));
$fn= fread($file,filesize("t.mid"));
//$fn = $_FILES['mid_upload']['name'];
$bn = strtok($fn, '.');
fclose($myfile);
$midi = new Rttl();
$midi->importMid($file);
$midi->getRttl($bn)
/* RTTL converted from: <?=$fn?> */
?>
then just run from cli php test.php t.midi is there a way to pass args to it ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels