The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Server Status in my Forum

View previous topic View next topic Go down

Server Status in my Forum

Post by efraim14 on 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

efraim14
Forumember

Posts : 125
Reputation : 0
Language : Indonesian

Back to top Go down

Re: Server Status in my Forum

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

Support!


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


MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1830
Language : test

http://test.com

Back to top Go down

Re: Server Status in my Forum

Post by efraim14 on 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..?

efraim14
Forumember

Posts : 125
Reputation : 0
Language : Indonesian

Back to top Go down

Re: Server Status in my Forum

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

Bump ?

efraim14
Forumember

Posts : 125
Reputation : 0
Language : Indonesian

Back to top Go down

Re: Server Status in my Forum

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

@MrMario wrote:
Support!


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



Sorry Wink

Darren1
Helper
Helper

Male Posts : 11853
Reputation : 563
Language : English

Back to top Go down

Re: Server Status in my Forum

Post by efraim14 on 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

efraim14
Forumember

Posts : 125
Reputation : 0
Language : Indonesian

Back to top Go down

View previous topic View next topic Back to top


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