SHARE
TWEET

get iconos en lightirc

a guest Feb 6th, 2012 152 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $nick = $_GET["getImage"];
  3. if ($nick == "admin") {
  4. header('Content-Disposition: Attachment;filename=/c/icons/admin.png');
  5. header('Content-type: image/png');
  6. }
  7. elseif ($nick == "halfop") {
  8. header('Content-Disposition: Attachment;filename=/c/icons/halfop.png');
  9. header('Content-type: image/png');
  10. }
  11. elseif($nick == "operator") {
  12. header('Content-Disposition: Attachment;filename=/c/icons/operator.png');
  13. header('Content-type: image/png');
  14. }
  15. elseif($nick == "voice") {
  16. header('Content-Disposition: Attachment;filename=/c/icons/voice.png');
  17. header('Content-type: image/png');
  18. }
  19. elseif($nick == "owner") {
  20. header('Content-Disposition: Attachment;filename=/c/icons/owner.png');
  21. header('Content-type: image/png');
  22. }
  23. else {
  24. header('Content-Disposition: Attachment;filename=/c/icons/troll.png');
  25. header('Content-type: image/png');
  26. }
  27. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top