first commit
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
<?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();
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user