mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
CD parity information database test
This commit is contained in:
14
CUETools.CTDB/uploader.php
Normal file
14
CUETools.CTDB/uploader.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
$target_path = "parity/";
|
||||
$target_path = $target_path . basename( $_FILES['uploadedfile']['name']);
|
||||
$source_path = $_FILES['uploadedfile']['tmp_name'];
|
||||
|
||||
if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) {
|
||||
echo "The file ". basename( $_FILES['uploadedfile']['name']).
|
||||
" has been uploaded";
|
||||
} else{
|
||||
echo $target_path, ":", $source_path;
|
||||
echo "There was an error uploading the file, please try again!";
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user