[Request]How you do this?

04/05/2012 22:52 Rapeiz#1
In this image the server is in online state
And here in offline state
If I can help please send me pm or answer the thread
thank you very much
04/06/2012 00:36 sqizz#2
This is an old script when you turn server off it lose connection and tell you that it can't connect to your local IP.
And on online state you have to create 2 images in PNG format, on.png and off.png .
15x15 format or so on.png be green or and off.png be red or what ever.Remember that to put 2 images in the same folder with script.
04/06/2012 02:39 Rapeiz#3
You can send the download links please?
04/06/2012 06:12 RebeccaBlack#4
Just make your own, or google for some. As for the errors, add the symbol @ in front of the functions. I.E. :
@fsockopen
@fsockclose

That will suppress the errors generated when the server goes offline.
04/06/2012 07:36 -III-#5
I usually wouldn't just hand out files, but I am in a good mood. The attached zip file has two versions:
  • Index.php is text based
  • Index2.php has images

This is not my script. All I did was alter it. I'll add credits when I dig up who the original author was. I believe it was tnelis, but I can not be certain as I have had it for a very long time.
04/06/2012 08:12 VIAT#6
Quote:
Originally Posted by -III- View Post
I usually wouldn't just hand out files, but I am in a good mood. The attached zip file has two versions:
  • Index.php is text based
  • Index2.php has images

This is not my script. All I did was alter it. I'll add credits when I dig up who the original author was. I believe it was tnelis, but I can not be certain as I have had it for a very long time.
very nice III :handsdown:

Quote:
[Request]How you do this?

In this image the server is in online state
And here in offline state
If I can help please send me pm or answer the thread
thank you very much
from the pic i notice you were use a link to it so if you want it on your website with refresh you can use this html code


<p><iframe name="Online" src="http://address-here.php" frameborder="no" scrolling="auto" align="center" width="150" px"="" height="100px"></iframe></p>

but like i said only if you need it.
04/06/2012 15:02 -III-#7
A little known tip:

PHP Code:
echo ( file_get_contents"http://yourdomain/directory/file.php") ); 
Can sometimes be used in place of iframes. However, this will not always work out too pleasantly with some scripts.