Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <title>HTTP-StatusCode Mass Checker</title>
- <style type="text/css">
- body {
- color:#6300ff;
- background:#111111;
- font-family:'Fixedsys';
- margin:9px;
- padding:9px;
- }
- textarea {
- color:#13e500;
- background:transparent;
- border-color:#a300ff;
- padding:5px;
- }
- input {
- color:#13e500;
- background:#b00000;
- margin-top:10px;
- font-size:20px;
- border:2px solid #a300ff;
- font-family:Terminal;
- width:70%;
- }
- </style>
- </head>
- <center>
- <h1>HTTP-StatusCode Mass Checker</h1>
- <form action='' method='POST'>
- <textarea name='targed' placeholder="http://youListDomain.com/" style="width:60%;height:350px;"></textarea><br>
- <center><input type='submit' name='gay' value='Check'></center>
- </form>
- <h0>~ Html404©Res7ock-Crew ~</h0>
- </center>
- <!-- Want to recoded? !!Try to include copyright!! By Html404©Res7ock-Crew --!>
- <?php
- $url = explode("\r\n",$_POST['targed']);
- function cek($url){
- $ch=curl_init();
- curl_setopt ($ch, CURLOPT_URL,$url );
- curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_TIMEOUT, 5);
- $page=curl_exec($ch);
- $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
- curl_close($ch);
- if($httpcode>=200 && $httpcode<300) return true;
- else return false;
- }
- if($_POST['gay']){
- foreach($url as $url1){
- if(cek($url1)){
- echo "• $url1 <font color='green'>OK</font><br>";
- } else {
- echo "• $url1 <font color='red'>DEAD</font><br>";
- }
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement