<?php include_once("config.php"); ************ $selected = "CONTACT"; $showform = TRUE; $sendit = $_REQUEST['sendit']; $youremail = $_REQUEST['youremail']; $subject = $_REQUEST['subject']; $message = $_REQUEST['message']; $errorstring = ""; else { } $subject = "Kontakt z ".$site_url." Strona - ".$subject; if($sent) $showform = FALSE; } } include("header.php"); ?> <table width="100%" cellpadding="10" cellspacing="0"><tr><td valign="top"> <?php if($showform == TRUE) { ?> Jeśli masz jakieś pytania lub komentarze dotyczące strony lub usług, jakie oferu
jemy, nie wahaj sie skontaktować z nami przy użyciu formularza<br><br> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr><form method="post" action="contact.html"><input type="hidden" name="sendit" value="yes"><td style="padding:0px;" align="left"><br> <table cellpadding="5" cellspacing="0" border="0"> <tr><td width="150"><b>Adres E-mail:</b></td><td><input type="text" name="youremail" class="form" style="width:150px;" value="<?php echo stripslashes($youremail); ?>"></td></tr> <tr><td><b>Tytuł:</b></td><td><input type="text" name="subject" class="form" style="width:150px;" value="<?php echo stripslashes($subject); ?>"></td></tr> <tr><td valign="top"><b>Treść:</b></td><td><textarea name="message" class="form" style="width:300px;" rows="6"><?php echo stripslashes($message); ?></textarea></td></tr> <tr><td></td><td><input type="submit" value="Wyślij" class="form"> <input type="reset" value="Wyczyść" class="form"></td></tr> <tr><td colspan="2" align="right"></td></tr> </table><br> </td></form></tr> </table> <?php } else echo "<b>Twoja wiadomość została wysłana do Administratora - <b>".$site_name."</b> -. Postaramy się odpowiedzieć w ciągu 48 godzin (2 dni robocze)<br><br>Dziękujemy za zainteresowanie i komentarze<br>Admin Hostingu</b><br><br>"; ?> </td></tr></table> <?php include("footer.php"); ?>
z tym tokenem?
http://phonik.pl/token2/formularz.php
chodzi mi oto żeby zrobić tak ze najpierw trzeba potwierdzic token w tym czasie wysyłanie miałoby być niemożliwe jesli teken bydzie sie zgadzał to wtedy aktywuje sie ikonka wyslij Bardzo prosze o pomoc gdyz kuleje w temacie php... pozdrawiam Zumi