Advertise Here

Author Topic: Making a server status page.  (Read 15806 times)

0 Members and 1 Guest are viewing this topic.

Offline x5

  • SMF For Free Member
  • *
  • Posts: 38
  • graphics master, friendly person
    • View Profile

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Making a server status page.
« on: June 05, 2008, 09:20:38 am »
My Friend made an mmorpg he decided to make a code so the users could tell when the game server was running

this codoe has many other uses to like monitor a website or w/e you want to do
Code: [Select]
<?
$ip = "youriphere";
$port = "yourporthere";
if (! $sock = @fsockopen($ip, $port, $num, $error, 5))
echo '<B><FONT COLOR=red>Offline</b></FONT>';
else{
echo '<B><FONT COLOR=lime>Online</b></FONT>';
fclose($sock);
}
?>
-open a text editor like notepad
-Put this code in your <Body> of index.html or w/e page you are using
-after you finish adding the code make sure you set the port and IP
-and when you add all the data save your file as index.php
-upload the file
-Finished ~ your server status is set ~
« Last Edit: June 07, 2008, 03:55:05 am by x5 »

http://top100gfx.gotop100.com/in.php?ref=193
............::::::::vote plox:::::::::::..............

Offline pker own

  • SMF For Free Sr. Member
  • *
  • Posts: 370
    • View Profile
    • Coreyscape Forums (Was A Server)

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: Making a server status page.
« Reply #1 on: June 05, 2008, 10:07:22 am »
That isn't a proper one, How are you gonna make yourself Admin? How are you gonna edit it? How are you gonna add more stuff? How are you gonna change style? How are you gonna add status image? Sorry but there is alot more than just that.

Offline x5

  • SMF For Free Member
  • *
  • Posts: 38
  • graphics master, friendly person
    • View Profile

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: Making a server status page.
« Reply #2 on: June 05, 2008, 10:24:46 am »
That isn't a proper one, How are you gonna make yourself Admin? How are you gonna edit it? How are you gonna add more stuff? How are you gonna change style? How are you gonna add status image? Sorry but there is alot more than just that.
its a cut down

http://top100gfx.gotop100.com/in.php?ref=193
............::::::::vote plox:::::::::::..............

Offline pker own

  • SMF For Free Sr. Member
  • *
  • Posts: 370
    • View Profile
    • Coreyscape Forums (Was A Server)

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: Making a server status page.
« Reply #3 on: June 05, 2008, 10:40:47 am »
What you mean by 'Its a cut down'?

Offline Jessie

  • SMF For Free Hero
  • *
  • Posts: 754
    • View Profile
    • iSimple

  • Total Badges: 18
    Badges: (View All)
    Windows User Apple User Mobile User Topic Starter Combination
Re: Making a server status page.
« Reply #4 on: June 06, 2008, 10:01:11 am »
Its a short less complicated version, taking or "cutting" out the other stuff.
Thats my guess, thanks for the code X.
Feel free to PM me or email me. ;)

My Forum :)

Offline x5

  • SMF For Free Member
  • *
  • Posts: 38
  • graphics master, friendly person
    • View Profile

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: Making a server status page.
« Reply #5 on: June 06, 2008, 01:05:07 pm »
np  ;) im not so great on coding im mostly graphics.

http://top100gfx.gotop100.com/in.php?ref=193
............::::::::vote plox:::::::::::..............

Offline x5

  • SMF For Free Member
  • *
  • Posts: 38
  • graphics master, friendly person
    • View Profile

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: Making a server status page.
« Reply #6 on: June 07, 2008, 03:54:21 am »
for starters you trying to fake alley from silab forums
2ndly this code is leeched, but i edited to make shorter im not taking 1% credit am i!?!?
so please dont call me a leacher when ur leching someones name.
thanks

http://top100gfx.gotop100.com/in.php?ref=193
............::::::::vote plox:::::::::::..............

Offline LaundryLady

  • Helpers
  • *
  • Posts: 3253
  • Internet Challenged
    • View Profile

  • Total Badges: 26
    Badges: (View All)
    Seventh year Anniversary Sixth year Anniversary Search Poll Voter Level 5
Re: Making a server status page.
« Reply #7 on: June 07, 2008, 06:53:22 am »
I think you need to keep comments like the ones above to yourselves or take it out of open forum.


And I Play:  Mafia-Mandemz

Offline x5

  • SMF For Free Member
  • *
  • Posts: 38
  • graphics master, friendly person
    • View Profile

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: Making a server status page.
« Reply #8 on: June 07, 2008, 07:04:05 am »
well im not taking 1% credit ive said its leeched yet i still get spamming  :uglystupid2: replying.

http://top100gfx.gotop100.com/in.php?ref=193
............::::::::vote plox:::::::::::..............

Offline LaundryLady

  • Helpers
  • *
  • Posts: 3253
  • Internet Challenged
    • View Profile

  • Total Badges: 26
    Badges: (View All)
    Seventh year Anniversary Sixth year Anniversary Search Poll Voter Level 5
Re: Making a server status page.
« Reply #9 on: June 07, 2008, 07:44:03 am »
Stop arguing in open forum.  You were advised on how to handle it.


And I Play:  Mafia-Mandemz

Offline Zion

  • SMF For Free Full Member
  • *
  • Posts: 104
    • View Profile

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 100 Posts
Re: Making a server status page.
« Reply #10 on: October 03, 2009, 08:31:01 am »
Good work. Hope it works :)
I'm Back and trying harder.

Offline Coder4ever

  • SMF For Free Member
  • *
  • Posts: 68
  • Coding Fan - Stylesheets - Graphics
    • View Profile
    • ProFifaLeagues

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Re: Making a server status page.
« Reply #11 on: November 16, 2009, 04:43:16 am »
Well done. I don't think that i would use this though good work.
http://profifaleagues.smfforfree3.com/index.php
Like to code? Why not join these forums. If you want help with coding also join up.

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
1206 Views
Last post March 12, 2008, 07:31:20 pm
by GamesGalore™
2 Replies
4876 Views
Last post January 15, 2009, 02:57:39 pm
by php coder
4 Replies
1945 Views
Last post March 24, 2009, 02:15:17 pm
by Logical
18 Replies
10510 Views
Last post April 06, 2010, 04:12:23 am
by ImperialBoards
0 Replies
1342 Views
Last post June 23, 2011, 08:05:27 pm
by Rizerstif