Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $nick = $_GET["getImage"];
- if ($nick == "admin") {
- header('Content-Disposition: Attachment;filename=/c/icons/admin.png');
- header('Content-type: image/png');
- }
- elseif ($nick == "halfop") {
- header('Content-Disposition: Attachment;filename=/c/icons/halfop.png');
- header('Content-type: image/png');
- }
- elseif($nick == "operator") {
- header('Content-Disposition: Attachment;filename=/c/icons/operator.png');
- header('Content-type: image/png');
- }
- elseif($nick == "voice") {
- header('Content-Disposition: Attachment;filename=/c/icons/voice.png');
- header('Content-type: image/png');
- }
- elseif($nick == "owner") {
- header('Content-Disposition: Attachment;filename=/c/icons/owner.png');
- header('Content-type: image/png');
- }
- else {
- header('Content-Disposition: Attachment;filename=/c/icons/troll.png');
- header('Content-type: image/png');
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement