I need a PHP script that will do the following:
When a user accesses a page on website A, I need a redirect to a page on website B. However, the HTTP referer needs to be set to an arbitrary page of my choosing.
The script needs to be implemented in PHP. The visitor needs to be logged on website B with his original IP, not the IP of the host the script resides on. The redirect has to work with all browsers.