Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.

xpd



Chief Trash Bandit
8910 posts

Uber Geek
+1 received by user: 1318

Mod Emeritus
Trusted
Lifetime subscriber

Topic # 58447 12-Mar-2010 10:41
Send private message

Im after some PHP/HTML code that will (when the page is opened) display a list of servers and ping each one and display a simple result such as "Up" or "Down"
Will be running via XAMPP (PHP/Apache etc)

Im pretty lost when it comes to coding of any sort so if anyone can help me itd be appreciated  :)

TIA




XPD / Gavin / DemiseNZ

 

For Free Games, Geekiness and Reviews, visit :

 

Home Of The Overrated Raccoons

 

Battlenet : XPD#11535    Origin/Steam/Epic/Uplay : xpdnz


Create new topic
8027 posts

Uber Geek
+1 received by user: 387

Trusted
Subscriber

  Reply # 306580 12-Mar-2010 12:42
Send private message

You might want to consider a online service that does this stuff for you + more (ping, http request, send txt's, emails, checks from multiple difference geographic locations etc)

Pingdom has a free account for 1 check, I use it on small sites.  There many alternatives that also offer a similar service with a limited (but useful) free account.

Most charge for sms credits or a small month fee for more checks and more advanced features.

One good trick with Pingdom though, is that you can have it send a direct message to your twitter account of down notifications and then have you twitter account setup to txt you the message.

Messages from twitter to your mobile are delivered for free with Telecom or Vodafone which is nice.


xpd



Chief Trash Bandit
8910 posts

Uber Geek
+1 received by user: 1318

Mod Emeritus
Trusted
Lifetime subscriber

  Reply # 306581 12-Mar-2010 12:44
Send private message

THis is for internal servers etc,will be displayed via intranet, so no access to the internet.

Which I sholuld have mentioned in my original post... :)




XPD / Gavin / DemiseNZ

 

For Free Games, Geekiness and Reviews, visit :

 

Home Of The Overrated Raccoons

 

Battlenet : XPD#11535    Origin/Steam/Epic/Uplay : xpdnz


BDFL - Memuneh
61195 posts

Uber Geek
+1 received by user: 11977

Administrator
Trusted
Geekzone
Lifetime subscriber

1818 posts

Uber Geek
+1 received by user: 52

Trusted

  Reply # 306683 12-Mar-2010 16:47
Send private message

So you want to process a list of servers and display if they are up or down?

Would post code here but it keeps getting filtered out.

So I posted it here. http://sharetext.org/AJU8

xpd



Chief Trash Bandit
8910 posts

Uber Geek
+1 received by user: 1318

Mod Emeritus
Trusted
Lifetime subscriber

  Reply # 307322 15-Mar-2010 10:26
Send private message

Cheers, Ill take a look :)




XPD / Gavin / DemiseNZ

 

For Free Games, Geekiness and Reviews, visit :

 

Home Of The Overrated Raccoons

 

Battlenet : XPD#11535    Origin/Steam/Epic/Uplay : xpdnz


Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.