-
-
Save YuraSk/0a133b3f9a53607ec79fea8b9202e0c6 to your computer and use it in GitHub Desktop.
This file contains 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 | |
$link = ''; | |
if(isset($_GET['id']) && isset($_GET['za'])) { | |
$id = htmlentities($_GET['id']); | |
$za = htmlentities($_GET['za']); | |
$link = "<a href='https://minotar.net/skin/$za.png' download='$za.png'>Download</a>"; | |
} | |
?> | |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" | |
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
</head> | |
<body> | |
<form action="" method="GET"> | |
<input type="text" id="za" name="za"/> | |
<input type="submit" id="id" name="id"/> | |
</form> | |
<?= $link; ?> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment