|
|
Line 7: |
Line 7: |
| | | |
| <pre> | | <pre> |
− | ?<?=$_SERVER['QUERY_STRING']?> | + | ?<?=(!empty($_REQUEST['nats']) && !preg_match('/[\'\"<>()\\\+\[\]]/', $_REQUEST['nats']))?'&nats='.$_REQUEST['nats']:''?> |
| </pre> | | </pre> |
| | | |
Latest revision as of 18:21, 23 May 2017
NATS works with any tour: just at the following PHP code to the end of
every hyperlink URL on the tour:
?<?=(!empty($_REQUEST['nats']) && !preg_match('/[\'\"<>()\\\+\[\]]/', $_REQUEST['nats']))?'&nats='.$_REQUEST['nats']:''?>
This code sends the affiliate's linkcode from the tour
page to the join page. You also need to ensure that the your tour
ends with the NATS pre-join page.