<?php echo "<table align=\"center\" border=\"0\" cellspacing=\"3\" cellpadding=\"0\"><form method=\"post\"> <tr> <td align=\"right\" class=\"uni_01\">subject </td> <td class=\"uni_01\"> <input type=\"text\" name=\"imie\" size=\"35\" value=\"\"></td> </tr> <tr> <td align=\"right\" class=\"uni_01\">e-mail </td> <td class=\"uni_01\"> <input type=\"text\" name=\"email\" size=\"35\" value=\"\"> </td> </tr> <tr> <td align=\"right\" class=\"uni_01\">message </td> <td class=\"uni_01\"> <textarea name=\"tresc\" cols=\"50\" rows=\"14\"></textarea> </td> </tr> <tr> <td align=\"right\" valign=\"top\" class=\"uni_01\"> </td> <td class=\"uni_01\"> <input style=\"font-weight: bold;\" type=\"submit\" name=\"submit\" value=\"submit\"> <input type=\"reset\" value=\"reset\"></form> </td> </tr> </table>"; } $message = "Temat: $_POST[imie]\n\nTreśc wiadomości: $_POST[tresc]"; $header = "From: $_POST[email] <$_POST[email]>"; echo "<center><font color=\"#C3A54D\">Your email has been sent.<br><br>We will contact you as soon as possible.</font></center>"; } else echo "<center><blink><font color=\"#C3A54D\">!!</font></blink> Do not leave any fields blank <blink><font color=\"#C3A54D\">!!</font></blink><br><br>[ <a href=\"contact\">back</a> ] </center>"; ?>
dziala to wszystko itd. Jestem zadowolony, ale chciałbym 1 rzecz, gdy wyśle sie już mejla to wyskakuje powiadomienie: Your email has been sent. We will contact you as soon as possible.
Jak zrobić aby np. po 10 sekundach po pojawieniu się tego komunikatu przekierowywało na strone główną czyli na www.kawex.com ? da się tak ? aha i chce tylko tak dla opcji udanego wysłania, bo np. jak mam że nie wypełnie jakiegoś pola formularza to nie chce żeby wracało
z góry dzięki za pomoc