Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ($_SERVER['REQUEST_SCHEME'] == 'http') {
- header("Location: " . "http://" . $_SERVER['HTTP_HOST'] . '/debug.php');
- } else {
- echo "<pre>";
- print_r($_SERVER);
- echo "</pre>";
- exit;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement