Jump to content

Question

6 answers to this question

Recommended Posts

  • 0
Posted

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...

  • 0
Posted

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..

  • 0
Posted

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.

  • 0
Posted

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)">';
   };
?>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

×
×
  • Create New...