Sinds een tijdje werkt dit niet goed meer.
De code voor het bestandje is:
Code: Selecteer alles
<?php
// Change the URLs below to match the location of the status images
$online = "http://xxxxxxxx/images/online1.gif";
$offline = "http://xxxxxxxx/images/offline1.gif";
// Change the address & port
$addr = "xxxxxx";
$port = 21;
// No need to edit the lines below!
$churl = @fsockopen($addr, $port, $errno, $errstr, 20);
if (!$churl) {
header("Location: $offline");
} else {
header("Location: $online");
}
?>
En de tekst die we gebruiken in het onderschrift is:
Code: Selecteer alles
[IMG]http://xxxxxx/servers/xxxx.php[/IMG]
Verder heb ik een paar updaten terug het bestandje bbcode aangepast, omdat het toen ook al niet goed meer werkte:
Code: Selecteer alles
INLINE FIND:
(jpg|jpeg|gif
IN-LINE AFTER, ADD:
|php
Maar het probleem is nu dat het plaatje offline niet verschijnt, je ziet dan het bekende kruisje.
Online doet het wel, dat is het gekke.
Misschien kan iemand mij uit de brand helpen.

