Creating an affiliate redirect page with PHP
So you have joined an affiliate program and wish to drive traffic to the website without revealing your affiliate link, why not create a simple affiliate redirect page using PHP.
In this example, we’ll create a stand-alone PHP page which will contain your affiliate link. When the online user visits your new page, they will be automatically re-directed to the affiliate website. A database connection for this example is not required, you simply need for PHP to enabled on your web host.