Files
Site-Web/secret/access.php
T
2026-05-16 11:10:19 +02:00

12 lines
351 B
PHP
Executable File

<?php
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
// Redirect to the secret directory
header('Location: /secret/one.mp4'); // change to your actual directory path
exit(); // important! stops further script execution
} else {
// If someone tries to GET the script directly, redirect to home
header('Location: /');
exit();
}
?>