Logoff on upload.php
This commit is contained in:
parent
4362244f33
commit
e823a1ed91
@ -45,10 +45,12 @@ print('<!DOCTYPE html>
|
||||
<title>Stream Upload encoding</title>
|
||||
<link rel="icon" href="favicon.png">
|
||||
<link rel="stylesheet" href="page.css">
|
||||
<div class="container">
|
||||
<div class="user"><p class="user">User: <b>'.$user.'</b></p>
|
||||
<form action="check.php" method="post">
|
||||
<input id="logoff" type="submit" name="logoff" value="Logoff">
|
||||
</form></div><div class="container">
|
||||
<h1>Encoding</h1>
|
||||
<p>For: <b>'.$user.'</b></p>
|
||||
<p>File: <b>'.$upload.'</b></p>');
|
||||
<p>Uploaded <b>'.$upload.'</b></p>');
|
||||
if(preg_match('/20[0-9][0-9]-[0-1][0-9]-[0-3][0-9]T[0-2][0-9]:[0-6][0-9]/', $datetime)===false){
|
||||
Back('Date/time somehow incorrect: '.$datetime);
|
||||
}
|
||||
@ -67,7 +69,7 @@ if(!move_uploaded_file($_FILES['file']['tmp_name'], $file)){
|
||||
Back('Error moving the file');
|
||||
}
|
||||
|
||||
print('<p>File is now being encoded to <b>'.$name.'.mp4</b></p>');
|
||||
print('<p>Streaming <b>'.$name.'.mp4</b></p>');
|
||||
print('<p>When done, an email will be sent to <b>'.$to.'</b></p>');
|
||||
Back('Scheduling for <b>'.$date.'</b> at <b>'.$hour.':'.$min.'</b>h on <b>'.$target.'</b>');
|
||||
Back('Streaming on <b>'.$date.'</b> at <b>'.$hour.':'.$min.'</b>h on <b>'.$target.'</b>');
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user