Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    [PHP] Site checker


    DirectNULL
     Share

    Recommended Posts

    Hello guys,

    Today i will release my PHP site checker.
    This checkt the following things:
    - HTTP
    - FTP
    - SMTP
    - POP3

    Some screenshots


    oe03lr9.png
    p3KKWuF.png



    A code snippet


    list($MSec, $Sec) = explode(" ", microtime());
    
          $TimeBegin = (double) $MSec + (double) $Sec;
          $Socket = @fsockopen($host, $port, $error_number, $error, $timeout);
          
    list($MSec, $Sec) = explode(" ", microtime());
    
          $TimeEnd = (double) $MSec + (double) $Sec;
          $Time = number_format($TimeEnd - $TimeBegin, 3);
    


     if (is_resource($Socket))
    
          {
    
                 if ($Request != "") { fputs($Socket, $Request); }
    
                 if (!feof($Socket)) { $Response = fgets($Socket, 4096); }
    
                 
    
                 $Result = "Failed";
    
                 $Error  = $Response;
    
    
    
                 foreach($OkResults as $exp_result) {
    
                    if (preg_match("/$exp_result/",$Response)) {
    
                       $Error = "";
    
                       $Result = "Ok";
    
                    }
    
                 }
    
             fclose($Socket);
    
          }
    
          else
    
          {
    
              $Result = "Failed";
    
              $Error = ((!$error) ? "Time out" : $error);
    
          }
    



    And last but not least the downloadlink!

     

    Download will be soon at the:
    Download categorie @ GHB

    Edited by SeriiousGamerr
    • Upvote 1
    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...