Forum Moderators: coopster
$file=fopen($_FILES['midiupload'] ['tmp_name'], "r");
$ln=0;
while(!feof($file)) {
$i[$ln] = ord(fgetc($file));
$ln++;
}
I get the following error messages:
************************************************
Warning: fopen("", "r") - Success in blah/blah/blah/blah/www/html/software/midi/examineMidi.php on line 131
Warning: feof(): supplied argument is not a valid File-Handle resource in blah/blah/blah/blah/www/html/software/midi/examineMidi.php on line 134
// That's the [ while(!feof($file)) { line
Warning: fgetc(): supplied argument is not a valid File-Handle resource in blah/blah/blah/blah/www/html/software/midi/examineMidi.php on line 136
// That's the $i[$ln] = ord(fgetc($file)); line