title: PHP error: Warning: Cannot modify header information - headers already sent by
body: <p>Hi I'm wrinting a simple mail script in PHP</p>
  
  <ul>
  <li>Of what that I found every one says its probably a whitespace in front of 
  </ul>
  
  <p>But as you can see I can't find anything like the solutions on the internet in my code...</p>
  
  <p>The error says : <strong>output started at /customers/e/e/5//httpd.www/email.php:1)</strong></p>
  
  <pre><code>&lt;?php
  $to = '...@gmail.com';
  $subject = $_POST['subject'];  
  $message = $_POST['message'];  
  $firstName = $_POST['firstName'];  
  $lastName = $_POST['lastName'];  
  $email = $_POST['email'];  
  mail($to, "Contact www....com: $subject", "Gecontacteerd van de website: www.....com\nZender: $firstName $lastName\nBericht: $message", "From: $email");
  header("Location:http://www.....com");  
  exit;
  ?&gt;
  </code></pre>