title: xmlhttprequest to spoof referer then redirect to another page?
body: <p>I've created some code using curl (PHP) which allows me to spoof the referrer or blank the referer then direct the user to another page with an spoofed referrer.</p>
  
  <p>However the drawback to this is the IP address in the headers will always be the IP of my  server, which isn't a valid solution.</p>
  
  <p><strong>The question;</strong></p>
  
  <p>Is it possible using client side scripting i.e. (xmlhttprequest) to "change" the referrer then direct the user to a new page?</p>
  
  <p>Thus keeping the users IP address intact but spoofing the referrer.</p>
  
  <p>If yes, any help would be much appreciated.</p>
  
  <p>Thanks!</p>