update
This commit is contained in:
parent
7ceddb3842
commit
9e8d193e47
21
upload.php
21
upload.php
|
@ -29,12 +29,18 @@
|
|||
|
||||
echo $_POST["videoTitle"];
|
||||
$ext = ".mkv";
|
||||
$brute_file = $target_dir . "/src/" . $_POST["videoTitle"] . $ext;
|
||||
$target_file = $target_dir . "/dest/" . $_POST["videoTitle"] . '.mp4';
|
||||
|
||||
echo $brute_file;
|
||||
$video_title = $_POST["videoTitle"];
|
||||
$video_desc = $_POST["videoDescription"];
|
||||
$video_date = date('d/m/Y');
|
||||
$video_level = $_POST["level"];
|
||||
|
||||
$brute_file = $target_dir . "/src/" . $video_title . $ext;
|
||||
$target_file = $target_dir . "/dest/" . $video_title . '.mp4';
|
||||
|
||||
echo $video_title $video_desc $video_date $video_level;
|
||||
echo $target_file;
|
||||
// return;
|
||||
return;
|
||||
|
||||
// Check if file already exists
|
||||
if (file_exists($brute_file)) {
|
||||
|
@ -61,8 +67,9 @@
|
|||
$OUTPUT = $target_file;
|
||||
|
||||
$cmd = sprintf('%s "%s" "%s" "%s" "%s" "%s"', $SCRIPT_PATH, $NAME, $AUTHOR, $INPUT, 'aulateste', $OUTPUT);
|
||||
// echo $cmd;
|
||||
// exit;
|
||||
|
||||
$output = shell_exec($cmd);
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue