Hallo und Danke
Beim Auftruf der index.html wo dieses
<script type="text/javascript" src="http://www.----/check-1.php?username=michael"></script>
eingefügt ist, erfogt die ausgabe Online.
Ich möchte aber das ein Bild angezeigt wird!
Quelltest check-1.php
<?
include("sql.php");
$check = mysql_query("SELECT Site_URL FROM arphp_Accounts WHERE username = '$username'");
$link = mysql_fetch_array($check);
if(@fopen($link[0],r)) {
$res = "<font color="#006600">Online</font>";
}
else {
$res = "<font color="#CC0000">Offline</font>";
}
header("Content-Type: text/javascript");
echo "document.write('$res');";
?>