The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Server Status in my Forum

3 posters

Go down

Server Status in my Forum Empty Server Status in my Forum

Post by efraim14 June 9th 2010, 5:39 pm

Hello, i have my forum : http://sgid.simplygaming.org

This is the Forum for a server that i have. The one that i want to ask, can anyone help this html code that i find so it'll work in forumotion? I already tried use it, fill the IP and the Port, but it's error..

This is the code :

Code:
<html>
<body>

<?php

$ip = "yourip";
$port = "yourport";
if (! $sock = @fsockopen($ip, $port, $num, $error, 5))
echo '<div align="center">The upload is <font color=red><b>Offline</b></FONT></div><br><br>'
;
else{
echo '<div align="center">The upload is: <font color=green><b>Online</b></FONT></div><br><br>'
;
fclose($sock);
}

?>

</body>
</html>


Thanks Very Happy
avatar
efraim14
Forumember

Posts : 125
Reputation : 0
Language : Indonesian

Back to top Go down

Server Status in my Forum Empty Re: Server Status in my Forum

Post by MrMario June 9th 2010, 10:55 pm

Support!
Server Status in my Forum Help-and-support


This is a php code and we don't support php.

MrMario
MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1839
Language : test

Back to top Go down

Server Status in my Forum Empty Re: Server Status in my Forum

Post by efraim14 June 10th 2010, 6:41 am

i didn't find any code out there,

anyone can help some code that helping me to make a server status..?
avatar
efraim14
Forumember

Posts : 125
Reputation : 0
Language : Indonesian

Back to top Go down

Server Status in my Forum Empty Re: Server Status in my Forum

Post by efraim14 July 4th 2010, 12:43 pm

Bump ?
avatar
efraim14
Forumember

Posts : 125
Reputation : 0
Language : Indonesian

Back to top Go down

Server Status in my Forum Empty Re: Server Status in my Forum

Post by Darren1 July 4th 2010, 12:46 pm

MrMario wrote:
Support!
Server Status in my Forum Help-and-support


This is a php code and we don't support php.



Sorry Wink
Darren1
Darren1
Helper
Helper

Male Posts : 11853
Reputation : 566
Language : English

Back to top Go down

Server Status in my Forum Empty Re: Server Status in my Forum

Post by efraim14 July 4th 2010, 7:10 pm

can you give me a html code support or any support that forumotion able to detect an IP? so when the IP down, it'll change automatically text
avatar
efraim14
Forumember

Posts : 125
Reputation : 0
Language : Indonesian

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum