Jump to content
  • 0

Help Help!


@BuennaVista
 Share

Question

6 answers to this question

Recommended Posts

  • 0

ti site exis php i html?

Kserw oti mpleksw sta skata alla an perasei to check server sto html kai to kanei "Save as" .php den 8a doulepsei e?!

Episis mporeis na exeis check server kai apo javascript... xml... alla ti sou lew...

Link to comment
Share on other sites

  • 0

filos mporw na sou ftiaksw ena script pou na leei me prasina gramata on (otan einai on o server) kai me kokkina off (otan einai off o server) i me photo check kai X

tha sto kanw se php ton kwdika den mporei na ton dei kaneis an thes pm me..

Link to comment
Share on other sites

  • 0

filos mporw na sou ftiaksw ena script pou na leei me prasina gramata on (otan einai on o server) kai me kokkina off (otan einai off o server) i me photo check kai X

tha sto kanw se php ton kwdika den mporei na ton dei kaneis an thes pm me..

 

mpesa twra, exeis ginei to poutanaki tou forum gia codes tis pipas, dld gia 5euro. Codes tis poutsas omws.

Link to comment
Share on other sites

  • 0

filos mporw na sou ftiaksw ena script pou na leei me prasina gramata on (otan einai on o server) kai me kokkina off (otan einai off o server) i me photo check kai X

tha sto kanw se php ton kwdika den mporei na ton dei kaneis an thes pm me..

 

Results : Text

 

 <?php
   $server_ip = "localhost";
   $loginserver_port = "7777";
   $gameserver_port = "2106";

   $login_status = @fsockopen( "$server_ip" , "$loginserver_port", $errno, $errstr, 0);
   $game_status = @fsockopen( "$server_ip" , "$gameserver_port", $errno, $errstr, 0);
   
              if($login_status){
      echo'Login Server : <font size="" color="green">Online</font><br />';
   }
   else{
      echo'Login Server : <font size="" color="red">Offline</font><br />';
   }
   if($game_status){
      echo'Game Server : <font size="" color="green">Online</font><br />';
   }
   else{
      echo'Game Server : <font size="" color="red">Offline</font><br />';
   };
?>

Results : Image

 

<?php
   $server_ip = "localhost";
   $loginserver_port = "7777";
   $gameserver_port = "2106";

   $login_status = @fsockopen( "$server_ip" , "$loginserver_port", $errno, $errstr, 0);
   $game_status = @fsockopen( "$server_ip" , "$gameserver_port", $errno, $errstr, 0);
   
              if($login_status){
      echo'<img src="image source (Login : Online)">';
   }
   else{
      echo'<img src="image source (Login : Offline)">';
   }
   if($game_status){
      echo'<img src="image source (Game : Online)">';
   }
   else{
      echo'<img src="image source (Game : Offline)">';
   };
?>
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disbaled AdBlock