Advertise Here

Author Topic: php coder. server status page  (Read 4892 times)

0 Members and 1 Guest are viewing this topic.

Offline php coder

  • SMF For Free Newbie
  • *
  • Posts: 16
    • View Profile
    • YOUR NUMBER 1 RSPS STATUS PAGE!

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
php coder. server status page
« on: January 15, 2009, 02:53:35 pm »
Forum Url: http://serverstatus.smfforfree.com
Code: [Select]
<form action="status.php" method="post">
Enter Server IP: <input type="text" name="ip" /><br>
Enter Port: <input type="text" name="port" /><br>
<input type="submit" />
</form>
<?php

echo "Status: ";
 = @fsockopen(ipporterrnoerrstr1);
if (!) {
echo "<B>Offline</B>";
}
else
{
echo "<B>Online</B>";
fclose();
}
?>

<Location /server-status>
</Location>

preview here

www.server-sniffer.com
« Last Edit: January 28, 2009, 04:28:39 am by php coder »

Offline php coder

  • SMF For Free Newbie
  • *
  • Posts: 16
    • View Profile
    • YOUR NUMBER 1 RSPS STATUS PAGE!

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: php coder. server status page
« Reply #1 on: January 15, 2009, 02:54:31 pm »
i have just found a bug.

dont use this code.
i am fixing now

Offline php coder

  • SMF For Free Newbie
  • *
  • Posts: 16
    • View Profile
    • YOUR NUMBER 1 RSPS STATUS PAGE!

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: php coder. server status page
« Reply #2 on: January 15, 2009, 02:57:39 pm »
fixed

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
1218 Views
Last post March 12, 2008, 07:31:20 pm
by GamesGalore™
11 Replies
15840 Views
Last post November 16, 2009, 04:43:16 am
by Coder4ever
16 Replies
17080 Views
Last post May 12, 2009, 09:03:08 am
by Rath
0 Replies
1031 Views
Last post May 26, 2009, 07:56:12 am
by gauge1994
18 Replies
10544 Views
Last post April 06, 2010, 04:12:23 am
by ImperialBoards