Register for your free account! | Forgot your password?

You last visited: Today at 18:21

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Hp Problem

Discussion on Hp Problem within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
Anonyme™'s Avatar
 
elite*gold: 310
Join Date: May 2011
Posts: 1,592
Received Thanks: 105
Hp Problem

Guten Tag E*pvp

Ich habe Ein problem Mit Meiner Homepage

Bei Der Status Anzeige Sind Drei Dinge Immer Offline Angezeigt Obwohl Alles Online ist:

Hier Der Serverstatus:
Quote:
Mysql: Online
Login: Offline
Channel1: Offline
Channel2: Offline
Das wird Immer Angezigt Obwohl Alles Online Ist!

Hier mal Der php Code:
PHP Code:
 <p style="margin-left:10px" align="left">

<?PHP
        $ip 
gethostbyname(SQL_HP_HOST);
        
$portlist=array(3306); // Den port den ihr sehen wollt
        
$status=array("<img src='images/pkt.png'> Mysql:");  // Bezeichnung
        
$i=0;

    foreach  (
$portlist as $port){
    echo 
"".$status[$i]."";
        
$online = @fsockopen($ip$port$errno$errstr1);
    if (!
$online)
    {
        echo 
" <font color='#b02828'>Offline</font>";

    }
    else
    {
        echo 
" <font color='#00FF00'>Online</font>";
    }
        echo 
'<br>';
        @
fclose($online);
        
$i++;
    }

    
        
$ip gethostbyname(SQL_HP_HOST);
        
$portlist=array(); // Den port den ihr sehen wollt
        
$status=array("<img src='images/pkt.png'> Login:");  // Bezeichnung
        
$i=0;

    foreach  (
$portlist as $port){
    echo 
"".$status[$i]."";
        
$online = @fsockopen($ip$port$errno$errstr1);
    if (!
$online)
    {
        echo 
" <font color='#b02828'>Offline</font>";

    }
    else
    {
        echo 
" <font color='#00FF00'>Online</font>";
    }
        echo 
'<br>';
        @
fclose($online);
        
$i++;
    }

    
        
$ip gethostbyname(SQL_HP_HOST);
        
$portlist=array(15001); // Den port den ihr sehen wollt
        
$status=array("<img src='images/pkt.png'> Channel1:");  // Bezeichnung
        
$i=0;

    foreach  (
$portlist as $port){
    echo 
"".$status[$i]."";
        
$online = @fsockopen($ip$port$errno$errstr1);
    if (!
$online)
    {
        echo 
" <font color='#b02828'>Offline</font>";

    }
    else
    {
        echo 
" <font color='#00FF00'>Online</font>";
    }
        echo 
'<br>';
        @
fclose($online);
        
$i++;
    }

    
        
$ip gethostbyname(SQL_HP_HOST);
        
$portlist=array(16001); // Den port den ihr sehen wollt
        
$status=array("<img src='images/pkt.png'> Channel2:");  // Bezeichnung
        
$i=0;

    foreach  (
$portlist as $port){
    echo 
"".$status[$i]."";
        
$online = @fsockopen($ip$port$errno$errstr1);
    if (!
$online)
    {
        echo 
" <font color='#b02828'>Offline</font>";

    }
    else
    {
        echo 
" <font color='#00FF00'>Online</font>";
    }
        echo 
'<br>';
        @
fclose($online);
        
$i++;
    }
    
?>
</p>
Ich hoffe ihr Könnt mir Helfen..
Danke Schonmal Im vorraus
Anonyme™ is offline  
Old 10/06/2011, 17:52   #2
 
nostradame37's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 2,504
Received Thanks: 870
die ports die angezeigt werden sollen sind die richtig ???
nostradame37 is offline  
Old 10/06/2011, 21:30   #3
 
Anonyme™'s Avatar
 
elite*gold: 310
Join Date: May 2011
Posts: 1,592
Received Thanks: 105
Anscheinend Nicht,Sonst würden sie Ja Nicht Offline Anzeigen
Aber Das problem ist.
Das ich Die Ports Leider Momentan nicht Weiß
Könnte mir villt jemand die Geben?
Anonyme™ is offline  
Old 10/09/2011, 14:26   #4
 
ThinSmoke's Avatar
 
elite*gold: 49
Join Date: Sep 2008
Posts: 906
Received Thanks: 600
Was isn das fürn Programmierter Müll? für einen String ne Array?

Viel zu viel Datenmüll omg..

aber die Ports stehen in deiner config
ThinSmoke is offline  
Old 10/09/2011, 21:55   #5
 
nostradame37's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 2,504
Received Thanks: 870
also bei allen orts mahl 11002 eingeben und nicht wie oben 3306
dan solte mahl online stehen
nostradame37 is offline  
Reply


Similar Threads Similar Threads
[Problem]Habe ein Problem und zwar spinnt mein VPC etwas(ohne Grund)?!
07/28/2011 - Metin2 Private Server - 10 Replies
Also wie schon gesagt meins Server spinnt wodurch kiks usw. kommen :( ich lade euch die Screens in den Anhang, mit der Hoffnung, dass ihr mir helfen könnt :) wäre echt sehr nice :)



All times are GMT +1. The time now is 18:22.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.