title: Obfuscate X-Php-Originating-Script
body: <p>If there is no access to php.ini (assume php -v >= 5.3 &amp; mail.add_x_header = 1), or a way to patch mail, is there a way to change the X-Php-Originating-Script header when using php's <code>mail()</code> function?</p>
  
  <p>The little research I did indicated that altering <code>$_SERVER['PHP_SELF']</code> prior to calling <code>mail()</code> would do the trick, however this did not work for me.</p>
  
  <p>I also tried setting X-Php-Originating-Script directly, this resulted in an additional 'X-Php-Originating-Script' header.</p>
  
  <p>The goal in this case is to prevent recipients of said email to gleam details on script nomenclature.</p>
  
  <p>Thanks!</p>