add header.php to upload page

This commit is contained in:
Chester Bak 2024-07-31 11:47:40 +07:00
parent 2cb756dee6
commit 52def87330

View File

@ -60,15 +60,8 @@ session_unset();
header('Location: login.php');
} ///////////////////////
$file=$dir.$name.'.upload';
print('<!DOCTYPE html>
<meta charset="utf-8">
<title>Stream Upload encoding</title>
<link rel="icon" href="favicon.png">
<link rel="stylesheet" href="page.css">
<div class="user"><p class="user">User:&nbsp;<b>'.$user.'</b></p>
<form action="login.php" method="post">
<input id="logoff" type="submit" name="logoff" value="Logoff">
</form></div>
include_once "header.php";
print('
<div class="container">
<h1>Encoding</h1>
<p>Uploaded <b>'.$upload.'</b></p>');