<html>
<style type="text/css">
body { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10pt; color: silver; }
td { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10pt; color: silver; }
{scrollbar-DarkShadow-Color:#333333; scrollbar-Track-Color:#555555; scrollbar-Face-Color:#050505; scrollbar-Shadow-Color:#333333; scrollbar-Highlight-Color:black; scrollbar-3dLight-Color:#555555; scrollbar-Arrow-Color:#EEEEEE }
form input {font-family:Verdana; color:#FFFFFF;background-color:#000000; border-color:#C0C0C0; border-style:groove;}
form option {font-family:Verdana; color:#FFFFFF;background-color:#000000; border-color:#C0C0C0; border-style:groove}
textarea {font-family:Verdana; color:#FFFFFF;background-color:#000000;border-color:#C0C0C0; border-style:groove;}
A:link {text-decoration: bold; color: #C0C0C0}
A:visited {text-decoration: bold; color: #C0C0C0}
A:active {text-decoration: bold; color: #C0C0C0}
A:hover {text-decoration: bold; color: 555555}
</style>
<body bgcolor="#000000" text="#ffffff" id=all>
<?
if ( $action == "eintragen" )
{
$fp = @fopen ("data.txt","a");
@flock($fp,1);
@fputs($fp,"$name $email $homepage $text\n\n");
@fclose ($fp);
echo "$Name, es wurde alles erfolgreich eingetragen, Danke für ihre Teilnahme";
$mailto= "$email";
$webmaster= "Webmaster@iotg-clan.de";
$subject= "Vielen Dank";
mail( "$mailto", "$subject", "Danke das Sie uns ein Feedback gegeben haben. \n", "From: $webmaster");
echo " ";
if ((strlen($email)>0) and (!(eregi("^mailto:",$email))))
{
$email = "mailto:$email";
}
if ((strlen($homepage)>0) and (!(eregi("^http://:",$homepage))))
{
$email = "http://$homepage";
}
else
{
?>
<form method="post" action="index.php3?action=eintragen">
<center><table border="0" width="50%">
<tr>
<td width="100%">
<p align="center">
<input type="text" name="name" size="20" value="Name"> <input type="text" name="email" value="your@mail.com"> <input type="text" name="homepage" size="20" value="" size="20"></td>
</tr>
<tr>
<td width="100%">
<p align="center"><textarea rows="6" name="text" cols="26">Text</textarea></td>
</tr>
<tr>
<td width="100%">
<p align="center">
<input type="submit" value="Eintragen"></td>
</tr>
</table>
</center>
<p align="center">Geben Sie uns ein Feedback zu dieser Seite.</p>
<?
include("data.txt");
?>
<?
}
?>
</body>
</html>
#######
Was ist hier Falsch????