title: Disable text input history
body: <blockquote>
    <p><strong>Possible Duplicate:</strong> <br/>
    <a href="https://stackoverflow.com/questions/2530/how-do-you-disable-browser-autocomplete-on-web-form-field-input-tag">How do you disable browser Autocomplete on web form field / input tag?</a></p>
  </blockquote>
  
  
  
  <p>I am building an application which will be accepting credit card data. I would like to make sure that the browser does <em>not</em> remember what has been typed into the text inputs for credit card number. I tried passing the following headers:</p>
  
  <pre><code>header("Expires: Tue, 03 Jul 2001 06:00:00 GMT");
  header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
  header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
  header("Cache-Control: post-check=0, pre-check=0", false);
  header("Pragma: no-cache");
  </code></pre>
  
  <p>Still, once the page reloads, I can click the credit card text input field and it will let me see what I wrote in it before. How can I prevent this?</p>