Dynamic Server Status Image PHP Script

04/15/2010 05:42 s.bat#1
I've always wanted to do this, and after my success, I'm inviting you all to partake in the ecstasy of my emotion.
The following images were produced using this script:
[Only registered and activated users can see links. Click Here To Register...]
PHP Code:
[img]http://70.233.166.46/DynamicSignature/index.php?image=http://img219.imageshack.us/img219/7435/qonquer3.png&x=45&y=55&ip=188.138.0.76&port=5816[/img] 
[Only registered and activated users can see links. Click Here To Register...]
PHP Code:
[url=http://www.elitepvpers.com/forum/co2-pserver-advertising/526251-cocp-jonquer-1-5-alpha-testing.html][img]http://70.233.166.46/DynamicSignature/index.php?image=http://img227.imageshack.us/img227/1999/jonquer.png&x=24&y=93&ip=72.20.32.58&port=9958[/img][/url] 
You may use the script on my host, but I will not guaruntee that it will stay the same, therefore I recommend you download the source that I have attached below. The file contains a NetBeans Project.
The url is constructed like so:
Code:
http://70.233.166.46/DynamicSignature/index.php?image=IMAGE_URL&x=TEXT_X&y=TEXT_Y&ip=SERVER_IP&port=SERVER_PORT
All of the capitalized words with underscores are variables which you will need to replace with your own data. The examples above should help you along. I've made the script as reusable as possible.

You could use this on your website, or your signature, etc.

I'm open to any suggestions. Please notify me of any errors, etc.
04/15/2010 15:43 ChingChong23#2
nice release, testing something.

[Only registered and activated users can see links. Click Here To Register...]
04/16/2010 00:38 s.bat#3
If you would like a simple script that displays a different image depending on your server's status that you can reuse on different servers, you could use this one:
I have a program that starts and stops listening for connections every 15 seconds. You can test this script by refreshing your page, you might see it change!
[Only registered and activated users can see links. Click Here To Register...]
PHP Code:
[img]http://70.233.166.46/DynamicImage/index.php?ip=70.233.166.46&port=1234[/img] 
You can download the attached script, or use the one I'm currently hosting at your own risk.
The file contains a NetBeans Project.
04/16/2010 00:39 zTREME#4
I like this ;D