Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $host = $_POST['name'];
- $result = str_replace(array('http://','https://'), '', $host);
- if($socket =@ fsockopen($result, 80, $errno, $errstr, 30)) {
- $value = 1 ;
- }
- else
- {
- $value = 0 ;
- }
- fclose($socket);
- ?>
- <!DOCTYPE html>
- <html>
- <head>
- <title>Down For Everyone Or Just Me</title>
- <link rel="stylesheet" type="text/css" href="style.css">
- </head>
- <body>
- <div class="parent">
- <?php if($value == 1) { ?>
- <div class="sub"><p>It's Just you. <a href="<?php echo 'http://'. $host; ?>" style="color:#64B5F6"> <?php echo $host; ?></a> is up for everyone.</p></div><img src="like.jpg" style="width:60px;height:60px;border-radius:100%;margi$
- <?php } else { ?>
- <div class="sub"><p>It's not you. <a href="<?php echo 'http://'.$host; ?>" style="color:#ff5500"> <?php echo $host; ?></a> is down for everyone.</p><br></div><img src="images.png" style="width:60px;height:60px;border-radius:100%$
- <?php } ?>
- </div>
- <div class="parent" style="margin-top:-70px"><br><br><br><br><p style="font-size:20px"><a href="index.php" style="color:#008855">Down For Everyone Or Just Me.? Check Onother</a></p></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement