Last active
March 7, 2020 16:55
-
-
Save kovenko/826ecf572c182b1b32ea6604cd59332b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Переключает из каптива сафари для жаровни | |
// header('location: https://cabinet.prime-hill.com/get_card_generator/da5f987f23f2334a99fda1a0d6a168d5', true, 302); | |
// return; | |
if (isset($_GET['redirect_url'])) { | |
header('location: https://cabinet.prime-hill.com/get_card_generator/da5f987f23f2334a99fda1a0d6a168d5', true, 302); | |
return; | |
} | |
?> | |
<html> | |
<head> | |
<title>Success</title> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width"> | |
</head> | |
<body> | |
<form id="success" action="http://vpn.2wifi.ru/prohod.php"> | |
<input type="hidden" name="redirect_url" value="success" /> | |
</form> | |
<script type="text/javascript"> | |
window.onload = function() { | |
setTimeout(function() { | |
document.getElementById("success").submit(); | |
}, 250); | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment