hehe, ja. das wäre ganz nett, wenn es funktionieren würde. ich weiss nicht warum, aber die Abfrage $sid != "" bringt leider NICHTS.

Bei mir funktioniert das aber einwandfrei !
Code:
<table border=1>
<form action="sipgate.php" method="POST">
<tr><td>SIP-ID</td><td><input type="Text" name="sipid" size="8" maxlength="16"></td><td>(z.B. 1234567)</td></tr>
<tr><td>SIP-Passwort</td><td><input type="Text" name="sippass" size="8" maxlength="16"></td><td>(z.B. ABCDEF)</td></tr>
<tr><td colspan="2"><input type="Submit" name="" value="Status ICON anzeigen"></td><td></td></tr>
</form>
</table>
<?php
$sid = $_POST['sipid'];
$spass = $_POST['sippass'];
$h = MD5($sid.$spass);
if ( $sid <> "" ) {
$img = "<img src=\"http://www.sipgate.de:8585/".substr($h,0,2)."/".$h."/\">";
echo $img."
\n".str_replace("<","<",str_replace(">",">",$img));
}