SHARE
TWEET

Untitled

a guest Sep 16th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $live = "images/up.png";
  3. $dead = "images/down.png";
  4.  
  5.  
  6. $server = $_GET['server'].":";
  7. $s_server = str_replace("::", ":", $server);
  8. list($addr,$port)= explode (':',"$s_server");
  9. if (empty($port)){
  10.     $port = 90;
  11. }
  12. $fp = @fsockopen("http://romaniaelit.ro", 80, $errno, $errstr, 6);
  13.              if (!$fp){
  14.                header("Location: $dead");
  15.                 }
  16.              else {
  17.                    header("Location: $live");            
  18.           }
  19. function server($addr){
  20.          if(strstr($addr,"/")){$addr = substr($addr, 0, strpos($addr, "/"));}
  21.          return $addr;
  22. }
  23. ?>
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