GodWar
Erfahrenes Mitglied
Guten Morgen!
Also ich habe ein kleines Script, welches eigendlich ICQ Nachrichten schicken soll:
Also ich habe ein kleines Script, welches eigendlich ICQ Nachrichten schicken soll:
Frage! Warum sendet der mir die Nachrichten nicht?<?
if ($_POST['submit'] != "") {
$icqnum = $_POST['icqnum'];
$message = "<strong>" . $_POST['username'] . "</strong> wrote on <strong>" . date("D-m-Y") . " @ " . date("H-i") . "</strong> the folowing\r\n";
$message .= $_POST['message'] . "\r\n";
mail("$icqnum@pager.icq.com", $_POST['subject'], $message, "From: " . $_POST['username'] . " <" . $_POST['useremail'] . ">");
echo "Your ICQ Message is send...";
exit();
}
else
{
?>
<form method=post>
<table width=425 border=0 cellpadding=2 cellspacing=0>
<tr>
<td valign=top><b>ICQ</b></td>
<td valign=top><br><input type="text" name="icqnum" value="" size="10" maxlength="12"></td>
</tr>
<tr>
<td valign=top><b>Username</b></td>
<td valign=top><input type="text" name="username" value="" size="25" maxlength="40"></td>
</tr>
<tr>
<td valign=top><b>Email</b></td>
<td valign=top><input type="text" name="useremail" value="" size="25" maxlength="128"></td>
</tr>
<tr>
<td valign=top><b>Titel</b></td>
<td valign=top><input type="text" name="subject" value="" size="25" maxlength="40"></td>
</tr>
<tr>
<td valign=top><b>Nachricht</b></td>
<td valign=top><textarea name="message" cols="30" rows="7" wrap="virtual"></textarea>
<input type="submit" name="submit" value="Senden"></td>
</tr>
</table>
</form>
<?
}
?>