Realm status question menu

User Tag List

Results 1 to 5 of 5
  1. #1
    *Alexz*'s Avatar Member
    Reputation
    105
    Join Date
    May 2007
    Posts
    521
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Realm status question

    How to have realm status a website not hosted on server computer?
    i know it evolves having the status dumping to the website but how?

    Realm status question
  2. #2
    Sorayazlawl's Avatar Active Member
    Reputation
    30
    Join Date
    May 2008
    Posts
    178
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The following is PHP to check the status:

    You'll want to change $host and $port
    Code:
    		$fp = @fsockopen ($host,$port,$errno,$errstr, 0.5);
    			if ($fp)
    				{echo "online";}
    			else
    				{echo "offline";}
    			@fclose($fp);
    Feel free to contact me if you need help or would like to assist me in one of my many projects.

  3. #3
    *Alexz*'s Avatar Member
    Reputation
    105
    Join Date
    May 2007
    Posts
    521
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Sorayazlawl View Post
    The following is PHP to check the status:

    You'll want to change $host and $port
    Code:
    		$fp = @fsockopen ($host,$port,$errno,$errstr, 0.5);
    			if ($fp)
    				{echo "online";}
    			else
    				{echo "offline";}
    			@fclose($fp);
    thanks but what port do i put into it?
    i tryed both the logon server and world server in but its saying servers offline when its online
    Last edited by *Alexz*; 08-02-2009 at 12:30 PM.

  4. #4
    Dombo's Avatar Banned
    Reputation
    622
    Join Date
    Nov 2008
    Posts
    1,421
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    $host: the IP or servername of your host
    $port: 3306 (default)
    $errno: the errornumber (6 by default)
    $errorstr: just leave it to that

  5. #5
    Helstedxd's Avatar Active Member
    Reputation
    20
    Join Date
    Nov 2008
    Posts
    78
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that doesent work mine says online eaven if its offline...
    PHP: | | | | | | | | | |HTML: | | | | | | | | | |

Similar Threads

  1. [Tool] Realm Status Monitor
    By CryptoCombat in forum World of Warcraft Bots and Programs
    Replies: 7
    Last Post: 07-07-2010, 07:22 AM
  2. [Website] Realm Status Error
    By singoe in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 04-26-2010, 09:54 AM
  3. Realm Status Php Script?
    By luc1f3rspalm in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 10-30-2008, 10:21 PM
  4. Realm Status
    By volitle in forum Programming
    Replies: 13
    Last Post: 09-23-2008, 08:29 PM
  5. CMPS Realm Status Module
    By romulux in forum Community Chat
    Replies: 0
    Last Post: 02-23-2008, 04:04 PM
All times are GMT -5. The time now is 02:12 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search