Mam taki dziwny problem otoz:
Mam formularz, ktory wysyla poczte za pomoca pliku mail.php, pod cala funkcja mail jest jeszcze troche kodu html, czy to ten kod przeszkadza zeby poczta do mnie docierala?
oto plik mail.php
<?php $name = $_POST['name']; $comments = $_POST['comments']; mail("master_malwin@interia.pl", "Masz nowy email!", "Jakis ludzik przyslal Ci nowa wiadomosc!nnImie: $namennNapisal:n$comments"); ?> <meta http-equiv="Content-Language" content="pl"> <TITLE>Moja stronka</TITLE> <LINK REL=STYLESHEET HREF="../../utility/main.css" TYPE="text/css"> <META HTTP-EQUIV="Refresh" CONTENT="10;URL=http://.."> <script LANGUAGE="JavaScript"><!-- function redirect () { setTimeout("go_now()",5000); } function go_now () { window.location.href = "http://........."; } //--></SCRIPT> <BODY onLoad="redirect()" bgcolor="#C0C0C0" style="text-align: center"> <table border="0" width="605" height="49" bgcolor="#FF0000"> <tr> <td height="49" width="60%"> <table border="0" cellpadding="3" cellspacing="3" height="100%" width="599"> <tbody><tr><td height="110" width="587"> <table align="center" border="0" cellpadding="0" cellspacing="0" height="110" width="587"> <tbody><tr> <td width="9" height="9"><img src="images /top_left.gif" height="9" width="9"></td> <td background="images /top_bg.gif" width="569" height="9" colspan="3"></td> <td width="9" height="9"><img src="images /top_right.gif" height="9" width="9"></td> </tr> <tr> <td align="top" background="images /left_bg.gif" rowspan="3"> </td> <td bgcolor="#eef9fd" width="296" rowspan="3"> <table border="0" cellpadding="0" cellspacing="0"> <tbody><tr> <td style="text-align: center;" width="90"> <table align="center" border="0" width="90"><tbody><tr><td> </td></tr></tbody></table> </td><td width="5"></td><td width="170"> <table border="0" cellpadding="0" cellspacing="2" width="100%"> <tbody><tr> <td><div style="font-size: 11px; color: rgb(0, 0, 0); padding-left: 1px;"> </div></td></tr> <tr> <td background="images /dash.gif" height="1" valign="top" width="100%"> <img src="images /spacer.gif" border="0" height="1" width="1"></td> </tr> <tr> <td> <div style="font-size: 10px; color: rgb(102, 102, 102); padding-left: 1px;"> <font size="3">Wiadomo¶æ zosta³a wys³ana! Czas oczekiwania na jej publikacje do 24 godzin.</font></div> </td> </tr> <tr> <td background="images /dash.gif" height="1" valign="top" width="100%"> <img src="images /spacer.gif" border="0" height="1" width="1"></td> </tr> <tr> <td width="100%"><div style="color: rgb(0, 0, 0); padding-left: 1px;"> </div></td> </tr> </tbody></table> </td> </tr> </tbody></table> </td> <td bgcolor="#eef9fd" width="230"> </td> <td bgcolor="#eef9fd" width="43"> </td> <td background="images /right_bg.gif" rowspan="3"></td> </tr> <tr> <td bgcolor="#eef9fd" width="230"> <p align="center">Za 5 sekund zostaniesz przeniesiony na stronê g³ówn±!</td> <td bgcolor="#eef9fd" width="43"> </td> </tr> <tr> <td bgcolor="#eef9fd" width="230"> </td> <td bgcolor="#eef9fd" width="43"> </td> </tr> <tr> <td height="9"><img src="images /bottom_left.gif" height="9" width="9"></td> <td background="images /bottom_bg.gif" height="9" colspan="3"></td> <td height="9"><img src="images /bottom_right.gif" height="9" width="9"></td> </tr> </tbody></table></td> </tr></tbody></table></td> </tr> </table>
Czy moze ktos mi pomoc rozwiazac ten problem, bardzo bym byl wdzieczny, chyba nie ma zadnych ograniczen, jezeli chodzi o wstawianie "htmla" do plikow php?