diff --git a/podcast1.php b/podcast1.php index 816d04e..f83e84d 100644 --- a/podcast1.php +++ b/podcast1.php @@ -113,7 +113,7 @@ echo '

'; } ?>


'; } $.ajax({ type: "POST", - url: "scripts/uploadMp3.php", + url: "scripts/uploadMp3_1.php", data: { base64: dataURL } diff --git a/scripts/uploadMp3.php b/scripts/uploadMp3_1.php similarity index 89% rename from scripts/uploadMp3.php rename to scripts/uploadMp3_1.php index d36c7d4..113e4c9 100644 --- a/scripts/uploadMp3.php +++ b/scripts/uploadMp3_1.php @@ -2,7 +2,7 @@ error_reporting(-1); ini_set("display_errors", "On"); // requires php5 -define('UPLOAD_DIR', '../uploads/'); +define('UPLOAD_DIR', '../uploads/1'); $img = $_POST['base64']; $img = str_replace('data:audio/mp3;base64,', '', $img); $img = str_replace(' ', '+', $img);