PHP Code:
<?
$GOTO_URL = "http://www.thepaysite.com/link.php?a=123456";
header("Location: ".$GOTO_URL);
?>
</HTML></BODY>
Pretty basic part of a WMs toolkit.
I also use a few other flavors for things like random tours and applying a percentage flip between PPS and Revshare links.