![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 1 Pomógł: 0 Dołączył: 24.02.2010 Ostrzeżenie: (0%) ![]() ![]() |
Witam
mam problem z formularzem kontaktowym ,po wpisaniu na nim zmiennych wysyła tylko puste zawiadomienie bez zmiennych już sie mecze z tym kilka dni i nic nie umie z tym zrobić . całą stronę kiedyś dostałem i nigdy nie chodził formularz ZAWIADOMIENIE: <?php include("head.inc"); ?> <body> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> </td> <td width="766" height="107" colspan="2" align="center" background="img/top.gif"><a href="index.php"><img src="img/logo.gif" alt="xxxxxx" width="146" height="54" border="0" /></a></td> <td></td> </tr> <tr> <td rowspan="2"> </td> <td width="199" height="284" align="right" valign="bottom" background="img/mm00.jpg" bgcolor="#46484f"> <?php include("menu.inc"); ?> </td> <td width="567" align="center" valign="bottom" bgcolor="#000000" class="tlo2"> <table width="500" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="50" class="tekst1"><img src="img/n4.gif" alt="Zapytanie" width="167" height="50" /></td> </tr> <tr> <td height="120" valign="top" class="tekst1"><br /> Jeli chcecie Państwo zadać pytanie, lub zasięgn±ć informacji, zadajcie prosimy pytanie używaj±c poniższego formularza lub wysył±j±c e-maila.<br /> <br /> Nie zapomnijcie Państwo wypełnić odpowiednich rubryczek, abymy mogli się skontaktować.<br /> </td> </tr> </table></td> <td rowspan="2"> </td> </tr> <tr> <td height="142" align="right" valign="bottom" bgcolor="#000000" class="tlo2l"> </td> <td width="567" align="center" valign="top" bgcolor="#000000" class="tlo2b"> <table width="500" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center" valign="top"> <table border="0" cellspacing="0" cellpadding="0" width="470"> <tr> <td width="140" height="12" bgcolor="#333333" class="tekst2"> </td> <td width="330" align="center"> </td></tr> <tr> <td height="13" bgcolor="#333333" class="tekst2"><div align="right">Imię i Nazwisko : </div></td> <td width="330" align="left"><FORM action="send.php" method="POST"> <input name="imie_nazwisko[]" type="text" size="24" /></td> </tr> <tr> <td width="140" height="25" bgcolor="#333333" class="tekst2"><div align="right">Twój e-mail : </div></td> <td align="left"> <input name="email[]" type="text" size="24" /></td> </tr> <tr> <td width="140" height="25" bgcolor="#333333" class="tekst2"><div align="right">Twój telefon : </div></td> <td align="left"> <input name="telefon[]" type="text" size="24" /></td> </tr> <tr> <td width="140" height="175" bgcolor="#333333" class="tekst2"><div align="right">Zadaj Pytanie : </div></td> <td align="left"> <textarea name="tresc_pytania" cols="34" rows="10" wrap="virtual"></textarea></td> </tr> <tr> <td width="140"></td> <td align="center"><input type="submit" action="send" value="Wylij" method="POST" /> <input type="reset" value="Wyczyć" /></FORM> </td> </tr> </table> <br /> </td> </tr> </table> </td> </tr> <tr> <td rowspan="2"> </td> <td width="766" colspan="2" align="center" bgcolor="#000000"> <?php include("bot.inc"); ?> ================================================================================ ======================= SEND <? $html = include('potwierdzenie'); $ToEmail = "xxxxx@xxxxx.com"; $ToSubject = "Zapytanie ze strony WWW xxxxxx)"; $EmailBody = "\nPoczta wyslana z formularza ze strony www xxxxx.\n\n--------------------------------------------\nImie i Nazwisko: $imie_nazwisko \nTelefon: $telefon \nEmail: $email \nTresc pytania:\n $tresc_pytania\n--------------------------------------------\n"; mail($ToName." <".$ToEmail.">",$ToSubject, $EmailBody, "From: ".$imie_nazwisko." <".$email.">"); print($html); ?> ================================================================================ ====================== nie wiem dlaczego przychodzą puste maile bez zmiennych wpisanych w formularz zapytania? może ktoś zobaczy i pomoże mi jak usunąć problem, dodaje ze ja nie robiłem tej strony. Proszę o pomoc |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 25.07.2025 - 10:10 |