@@ -159,7 +159,7 @@
|
|||||||
$file_ext = substr($_FILES['file']['name'], -4);
|
$file_ext = substr($_FILES['file']['name'], -4);
|
||||||
|
|
||||||
//check file extension
|
//check file extension
|
||||||
if ($file_ext == '.wav' || $file_ext != '.mp3') {
|
if ($file_ext == '.wav' || $file_ext == '.mp3') {
|
||||||
|
|
||||||
//find the next available
|
//find the next available
|
||||||
for ($i = 1; $i < 10; $i++) {
|
for ($i = 1; $i < 10; $i++) {
|
||||||
@@ -667,4 +667,4 @@
|
|||||||
fclose($fp);
|
fclose($fp);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user