- automated refresh without reloading the website
- up to date mapinformation and download links
- One-Click-Content
- easy integration per javascript
CODE
<?php
$url = urldecode($_REQUEST['query']);
// Securitycheck
$i = strpos($url,'.splatterladder.com/export/'); if ($i<7 || $i>22) exit;
$url .= '&wrapper=sl_sm_wrapper.php';
echo file_get_contents($url);
?>
This file is nothing else than a 'content-wrapper', a kind of proxy-script which only handles requests for Splatterladder (see security check code).
Why this file? Quite simple, your site occupies webspace, the refreshing does the sl-server (normally). These are different domains and it would be cross frame scripting, which is disallowed by every browser. With this wrapper the monitor will be updated through your webspace and there should be no problem with cross frame scripting.
2. Paste the following code into your website and change the given ip-adress to the one of your server.
CODE
<script language="javascript" src="http://etqw.splatterladder.com/export/servermon.js.php?ip=85.14.218.247:27733"></script>
3. So now you can lean back comfortable because you are running a cool servermonitor wich updates itself automatically, lets your users connect directly (with sl.-gamelauncher) and provides them with newsworthy mapinfos and downloads.
Check below how to add the server monitor to:- phpBB
- PHPNuke (thanx go to DRAPP|FAKE*BB* for sharing this with us)