Bardzo prosze o pomoc gdzie popełniłem błąd lub co robię źle?
wycinek htmla:
<!-- Contact --> <div class="article"> <form action="poczta.php" method="post" accept-charset="utf-8"> <div class="column-cnt"> <div class="column"> </div> <div class="column"> </div> Feel free to contact me using the form, <br /> </h2> </div> <div class="column-big"> </div> </form> </div> <!-- End Contact -->
i moj php
<?PHP $from = $_REQUEST['email'] ; $name = $_REQUEST['name'] ; $headers = "name: $name"; $subject = "RafalPortfolio"; $fields{"email"} = "email"; $fields{"name"} = "name"; $fields{"message"} ="message"; $body = "We have received the following information:\n\n"; foreach($fields as $a => $b){ $body .= sprintf("%20s: %s\n",$b,$_REQUEST[$a]); } $headers2 = "From: noreply@YourCompany.com"; $subject2 = "Thank you for contacting "; $autoreply = "Thank you for contacting I will get back to you as soon as possible."; $to = 'xxxxxxx@gmail.com'; $header = "From: Rafal\nContent-Type:". ' text/plain;charset="iso-8859-2"'. "\nContent-Transfer-Encoding: 8bit"; else ?>