Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

77 users online



Server Online Script

Server Online Script

Currently viewing this thread: 1 (0 members and 1 guests)


Page 1 out of 2
TeKsT

TeKsT

Robotic Hamster
Status: Offline!

Server Online Script

I need a php script that will ping an ip to check to see if its online or not its for my friends game server that he runs on his comp it needs to run on my server and check to see if his is online every few seconds or so anyone know of a script liek this or how to create one?

___________________

http://www.aurlai.com
"Bordem is the gateway to insanity"

Last edited by TeKsT, August 29th, 2003 05:55 PM (Edited 1 times)

Shuriken

Shuriken

Resistance is fubar
Status: Offline!

There are loads of these scripts arround anyway.

TeKsT

TeKsT

Robotic Hamster
Status: Offline!

do you know where???? plz if your gonna reply post a link i cant find any of these scritps...

___________________

http://www.aurlai.com
"Bordem is the gateway to insanity"

Shuriken

Shuriken

Resistance is fubar
Status: Offline!

nope i dont, you can try asking www.clandestine.nu clan where they got theirs

epyon

epyon

16, staying Asian.
Status: Offline!
PHP:

<?
$server 
'yahoo.com';

echo 
"<pre>\n";
echo `
ping $server -n 1`;
echo 
"</pre>\n";
?>

___________________

http://whatpulse.bounceme.net/sig/epyon.png

TeKsT

TeKsT

Robotic Hamster
Status: Offline!

epyon that doesnt work man :/

___________________

http://www.aurlai.com
"Bordem is the gateway to insanity"

epyon

epyon

16, staying Asian.
Status: Offline!

doesn't work means a lot of things.
does it give errors?

i tested it and it works on my windows machine.

___________________

http://whatpulse.bounceme.net/sig/epyon.png

TeKsT

TeKsT

Robotic Hamster
Status: Offline!

it doesnt do anything...

http://www.bilark.com/test/online.html
http://www.bilark.com/test/server.php

nothing T_T

___________________

http://www.aurlai.com
"Bordem is the gateway to insanity"

Dabu

Dabu

Status: Offline!

<?
$up = fsockopen("http://www.watever.com", 80, &$errno, &$errstr, 30);
if($up)
{
echo "Website is up!";
} else {
echo "Website is down";
}
?>

try that out

try that

TeKsT

TeKsT

Robotic Hamster
Status: Offline!

nope it doesnt work just doesnt do anything :/

___________________

http://www.aurlai.com
"Bordem is the gateway to insanity"

Page 1 out of 2
Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0081 seconds.